Follow pyflakes' suggestions
Refactor get_info_form_ssh() to return tuple
Refactor get_info_from_ssh() arg name