Handling missing package.json more gracefully (without a crash) + some trace log messages.