Replace failing is and is not tests with == and !=
Replace failing is and is not tests with == and !=

With the introduction of unicode_literals, these str to unicode
comparisons were incorrectly always returning False.

Fixes #46917.

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