fail on package.json parse error and missing file

Signed-off-by: Jason Van Pelt <jvanpelt@newrelic.com>