Fix loading parent node for workdir in GitRepository