Fix command_timeout_error_message calls

Prior to this fix, any command timeout fails with the unintended and unhelpful exception

```
NameError
---------
Cannot find a resource for cmd on ubuntu version 12.04
```