$koji wait-repo %side-tag --build=$nvr
done
+ # Make sure the local directory is up to date.
+ # This should also fail if there are local changes, which
+ # would need to be corrected/integrated by hand.
+ git pull
+
# If the specfile doesn't have the magic string then add
# that now.
if ! grep -sq %rebuild-name $specfile; then