Fixed to git-ls-code to work in sub dir, added loc