download_repo.sh calls repoquery and dnf keeps cache in /var/tmp and after next download of repodata, cache doesn't invalidate... This might be bug in DNF.
In any case I think we should always do something like --cachedir mktemp -d and remove that dir after...