Make sure we don't get false positives if reading package.json fails

the fallback is to load index.js, so remove the possibility of a
fallback