More code coverage for repo.py