Fix included into https://github.com/saltstack/salt/pull/33088 as https://github.com/saltstack/salt/pull/33088/commits/a849b8e823bf66198d36ca2d15d85eb6c3f65b5c