Changed from using type() to isinstance() per pull request comment
Changed from using type() to isinstance() per pull request comment

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