$ git clone -n https://src.fedoraproject.org/rpms/python-gmpy2.git /var/lib/mock/f33-build-138214-42153/root/chroot_tmpdir/scmroot/python-gmpy2 Cloning into '/var/lib/mock/f33-build-138214-42153/root/chroot_tmpdir/scmroot/python-gmpy2'... $ git reset --hard aa7e4af166d3c2990944cf4834448eb724959ee8 HEAD is now at aa7e4af Forgot a question mark in the %if condition.