TLS: fix root directory retrieval (context)
TLS: fix root directory retrieval (context)

This refs/replaces/fixes: #20908 #20914

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