Limit max to the length of the repos in scm