check parsed yaml is a valid dict before trying to merge
check parsed yaml is a valid dict before trying to merge

(backport https://github.com/bbinet/pillarstack/commit/0e82eb9cda70b177b3d48eab4efc238c714e34a0)

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt