Replace the use of createrepo with createrepo_c