Fix Travis issue with git version.