Use the repos_base which might have been set to the default value.

The set_defaults sets repos_base to repos_base_default if CONF_REPOS_BASE is not set but then the CONF_REPOS_BASE is used again, potentially leading to wrong baseurl set.