Use config_param to check 'tag' requirement

config_param without 'default' checks 'tag' is specified or not.
And @tag is not empty, so 'if tag' is not needed before Engine.emit.
Merge pull request #1 from repeatedly/patch-1

Use config_param to check 'tag' requirement