new-workdir: handle rev-parse --git-dir not always giving full path
[git] / contrib / workdir /
drwxr-xr-x   ..
-rwxr-xr-x 1475 git-new-workdir