Fix noisy console output during git deployments

based on the docs... `error` could happen before `exit`. but `exit` may or may not be called after `error`. I will change the order.