Good catch. I've changed the wording to reflect that it *is* undefined when there are errors and null when there's no package.json.