Fixed issue with tty

I get the problem below, this commit fix the issue.

```shell
[...]
==> default: stdin: is not a tty
[...]
```