Ensure correct syspath
Skip test if unable to import the git python package
Merge pull request #13159 from s0undt3ch/develop

Ensure correct syspath