Proper handling of repo comparison