changed repo_host to repo_hosts, to allow multiple hosts in case of clustered configurations