Description of problem: rh-amazon-rhui-client updates is not preserving selected repos. How reproducible: 100% Steps to Reproduce: === # curl http://169.254.169.254/latest/meta-data/ami-id ami-0975ce566eec139c3 # rpm -qa rh-amazon* rh-amazon-rhui-client-3.0.17-1.el8.noarch # dnf config-manager --set-enabled rhui-codeready-builder-for-rhel-8-rhui-rpms # yum repolist repo id repo name status rhui-client-config-server-8 Red Hat Update Infrastructure 3 Client Configuration Server 8 3 rhui-codeready-builder-for-rhel-8-rhui-rpms Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) from RHUI 1,497 rhui-rhel-8-appstream-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs) 5,760 rhui-rhel-8-baseos-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs) 2,097 # dnf -y update rh-amazon-rhui-client … Upgraded: rh-amazon-rhui-client-3.0.19-1.el8.noarch Complete! # dnf repolist repo id repo name status rhel-8-appstream-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs) 5,760 rhel-8-baseos-rhui-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs) 2,097 rhui-client-config-server-8 Red Hat Update Infrastructure 3 Client Configuration Server 8 3 === Actual results: choose_repo.py renames the repo file in /etc/yum.repos.d and replaces it with the new one with default repositories/streams enabled Expected results: Preserving enabled repositories after updating Additional info: