[Compass-ci] [PATCH compass-ci 4/4] lib/mail_job_result.rb: fix incorrect logic