Fix versionInfo test in test_repository.py