Fix noisy console output during git deployments

Oh, I see why the check above. Maybe move the `error` handler above the `exit` handler? Or write/use a `once()` wrapper.

Can the events happen in the other order? Does the code need to handle that?