catch possible requiretty errors

When ``requiretty`` is enabled on remote hosts we should attempt to deal with that possibility and handle the error.

This does not happen when creating the SSH connection however, it only happens when a remote command is attempted that requires ``sudo`` so this is something that needs to be caught when attempting to retrieve the remote modules.