Git: dir keyword allows working on repos without cd'ing into them.
pkg2: use Git API dir keyword instead of cding all the time.