Fix git-dir when the repository is a submodule.

When the repository is a git submodule, the .git is not a directory and
the VCSTURD file was not found by make.

    git rev-parse --git-dir

handles submodules correctly and fixes the issue.