Handle failure to import pty