Replace repoquery with dnf