Use a better method of detecting dirty git project trees.