Use better incompatible-git detection method