Fix a bug introduced with e82b54e. When running --stdout, we have a limited
format struct, and params.label is NULL.