Adding a patch to `is_on_git` to support new version if `git branch`