Bugfix: Only wrap the ssh command if we're in an interactive shell

This was causing problems for things like `git` which use `ssh` behind the
scenes to transfer data.

--------------------------------------------------------------------------------
Change-Id:     Ia571dd4a41d44310a642ceac89db00cff477b884
Signed-off-by: Jeff Felchner <accounts+git@thekompanee.com>