Fix a comodification exception loading locales 

http://pastebin.com/f4L2E8tu

Signed-off-by: Ross Allan <rallanpcl@gmail.com>