simplify locate_repos