removed method that doesn't exist (#34026)
removed method that doesn't exist (#34026)

* removed method that doesn't work

* added logic for method removed in recent version

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