Add dirty tree flag to the git revision