Fixing YAML state syntax

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