avocado.job.py: Change exit condition

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>