Bug #484730: In sync mode, use repos.conf section name when repo_name file is missing.