Always mount /dev/console even in non-tty mode

Closes #4609

/cc @alexlarsson @crosbymichael