Get out early when too many locked repos

No need to continue scanning for changed repositories when we already
know that there are too many locked repos. Get out and let the next
process try again.