Finish untested version of repo->GetStatus()
Fix a bug that crashes the program on repo->GetStatus()