fails gracefully if no package.json with -k flag