Don't force a rebuild after doing a Git commit.

Thanks to w00t for pointing out the cause of this.
Merge pull request #766 from SaberUK/master+rebuild-fix

Don't force a rebuild after doing a Git commit.