Automatically create local repositories on first run
Improve test coverage by testing command line interface