HPCC-9208 Correctly catch errors returned by pssh and prevent core

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>