[Bug 2209413] Prepare for DNF 5, don't depend on `dnf`