fixed posh-git & posh-hg