Make sure ansible-doc work when stdin is not a tty

Fix #9695