Fix a typo from !6860 (merged) that caused locale environment variables to not be restored after they are set during the check.
Fixes: #23399 (closed)
Backport: release
Fix a typo from !6860 (merged) that caused locale environment variables to not be restored after they are set during the check.
Fixes: #23399 (closed)
Backport: release