Fix deploying git gems without git (#2968)

If git isn't allowed to run, we don't blow up if we don't have it.

It looks like master's build is failing, so please let me know if I'll need to force a rebuild of this at any point.