Fix using createrepo before it is installed.