[BUGFIX] Get current locale without changing environment