vcsinfo:git: Fix regression identifying dirty workdir