Use metadata.json if it (and not Modulefile) exists

Closes #7