Conditionally set pty, only on RH hosts to avoid hangs