def METHOD_NAME(manager_version_name, distro):
    with open("defaults/manager_versions.yaml", encoding="utf-8") as mgmt_config:
        manager_repos_by_version_dict = yaml.safe_load(mgmt_config)["manager_repos_by_version"]
    version_specific_repos = manager_repos_by_version_dict.get(manager_version_name, None)
    assert version_specific_repos, f"Couldn't find manager version {manager_version_name} in manager defaults"
    distro_name = get_distro_name(distro)
    repo_address = version_specific_repos.get(distro_name, None)
    assert repo_address, f"Could not find manager repo for distro {distro_name} in version {manager_version_name}"
    return repo_address