Raise an error if local repositories are missing


Fixes #2