git-rewrite: only rewrite if it's not us already