Fix undefined index for msg_format plugin setting

Looks like setting is ignored even if set. Copied logic from `date_format` plugin setting.
Merge pull request #234 from ohmanger/develop

Fix undefined index for msg_format plugin setting