fix: check git status before using git version tag
fix: check git status before using git version tag

This fixes the problem disribed in https://github.com/solid/node-solid-server/pull/1112

linkeddata/ldnode,linkeddata/ldnode