Add -p and -d to createrepo