Adds another safeguard

Adds a safeguard for `plugin.PluginParam` because it can be undefined.
Merge pull request #51 from NatWeiss/patch-5

Adds another safeguard