Before drop in configuration was read or existed (for both dnf5 and dnf4) the tests were isolated from host system dnf configuration (present since f41) but now it is affecting them.
One issue this caused is workarounded in #1680.
However I worry this might cause more problems.
I think that ideally we should somehow disable it or make sure there is no extra configuration.