Update git_dirty() to match Zach Holman's repo