Request pty if not sudo.

Without this I get the error:
```
sudo: sorry, you must have a tty to run sudo
```