Fix for bug #5533

Fix for bug #5533 regarding connection plugins 'ssh', 'ssh_alt', 'paramiko' and 'local'.  
All were tested with Debian 7.0/stable, Python 2.7.3.

Connection plugin 'accelerate' was not touched, however I believe it would suffer from the same bug.