clients.console: protect against terminalProtocol being None

darcs-hash:20090330130655-b2873-a96971c5611f8fb0f266c16d31ebf13f3ac87e43