Fix assert order
Remove not used variable
Ensure the cached locale list is cleared after reloading

So that the list gets properly updated when setting a new
locale/default_locale.

Related to #275.