Fixed #22780 -- Checked that LOCALE_PATHS is really a tuple