Catch the exception if we can't parse the result of the script

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