[backend] minor changes in createrepo