Fix issues with unit tests and native git.