rethrow error when not 404 for package.json