[backend] use new createrepo wrapper