slight refactoring of Utils::getRepoStrings()