@Unfocused checking for the `package.json` before the `install.rdf` sounds fine to me.