Corrected environment variable expansion in the git state formula.