More git related fixes in runtests