divide the repo_dirs into two parts