If the script invocation fails, perform some error diagnosis.

Signed-off-by: David Scott <dave.scott@citrix.com>