Improve error reporting from appliance

Include the output of the command in the exception text reported back through
the API.

Change-Id: Id437da4b1cbcd29bf5bc7a18cbabfc400fd8e0ba