Whoopsie... I didn't catch that. I'll send in a patch tonight, the remote.login() call just needs to be wrapped in a try/except.