BUG: getattr() raises AttributeError  in get_num_jobs() when --jobs argument not given