runner: fix in git function (var not initiaziled)