Improve error output for failing to list npm packages (to help determine why it's failing on build machine)