implementing bradfeehan's fix for annoying "is not a tty" error message https://github.com/mitchellh/vagrant/issues/1673