Fixed the failing repository tests
Fixed the failing repository tests as per the comments
Merge pull request #1177 from tkolhar/test_cli_second

Fixed the failing repository tests