check_snmp_exec.sh: Better handling of remote exit value

Don't rely on parsing extOutput.n string, instead use extResult.n