Add better error message for missing package.json

Hopefully this will enable users that are using npm for the
very first time to help themselves.