Move REPO_HOSTNAME to parameter.