The dnf5 upgrade for Fedora 41 leaves /etc/dnf/dnf.conf.rpmnew with an empty main section. This is reported by rpmconf -a as reported in https://discussion.fedoraproject.org/t/asahi-fedora-41-dnf-conf-rpmnew/140458. DNF5 supports config mix-ins at least in /etc/dnf/libdnf5.conf.d/. We should transition the kiwi image build to that or provide the mix-in via an asahi specific package if still want to keep allow_vendor_change=False. I doubt we can do anything about /etc/dnf/dnf.conf.rpmnew for existing Fedora 40 based installs.
/etc/dnf/dnf.conf.rpmnew
rpmconf -a
/etc/dnf/libdnf5.conf.d/
allow_vendor_change=False
We probably have to keep it in /etc/dnf/dnf.confas long as dnf4 is still available though,
/etc/dnf/dnf.conf