GIT-VERSION-GEN: mark the version 'dirty' only if there are modified files