repo_switch : config cleanup