[fix] Update `parse_git_dirty` to work with `git@2.2.1`.