Fixes #3084 - PTY.check should never return nil
Merge pull request #14 from ares/bug/3084_exit_status

Fixes #3084 - PTY.check should never return nil