Passing tag correctly from state to module function

Fixes https://github.com/saltstack/salt/issues/13138