chooselocale: Code bugfix for my prev commit.