Improved error messages when loading the local config file and when reading init.json from a package index.