packaging: setup: require tty over ssh

Running ssh -lroot hostname "hosted-engine --deploy"
cause an error while testing storage.
Added a check to ensure tty is available.

Change-Id: I8ecf0248ea6120acd8d6e624cf8114cc0a29efa8
Bug-Url: https://bugzilla.redhat.com/1105249
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
(cherry picked from commit 82c553f714fc185aedf0fdb834ba10e80e762756)