Issue #746240 by c960657, Gábor Hojtsy: Fixed Race condition in locale() - duplicates in {locales_source()}.