fix localGit for travis.