Updating git dirty-state matching to support git 1.8