jobs/sanity: fix return code