wip: repository_manager: fix complete_repo_name()