Correct issue with ping on rotate with minion cache (#33765)
Correct issue with ping on rotate with minion cache (#33765)

Only check connected minions if we have the data to do so. Closes #29525
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt