Use an O(n) algorithm to compute the repository name