git-var: make it work in subdirectory.