Exit `wait_for_job_to_be_done` as error if the job fails See merge request gitlab-org/gitlab-ce!23997