Fixes deploy hooks not firing when single connection is set

Issue: https://github.com/rocketeers/rocketeer/issues/304

I think this is what is needed to fix the above issue when there is only a single connection set.

If there is a single connection set then it will never get past line 296 and will always 
```$this->connection == $connection```