Fixed a few conditionals in git_extras_common