Fix undefined index for msg_format plugin setting

Looks like setting is ignored even if set. Copied logic from `date_format` plugin setting.