fix(gulp) cleaned up the logic a bit and consider the value of the nogit flag, not just its presence