changed input var repo to list repo_list