Make createrepo step more efficient.