fix git path calls and CODIR

it may need some checks/fixes on pkg-utils.inc as git downloads but not installs.

After manual pbi install of git, "pfSsh.php playback gitsync master" works fine with this fix.
Merge pull request #1072 from marcelloc/patch-3