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

Thanks to w00t for pointing out the cause of this.