BS-9049, add check before creating job log.