Added check in modules.locale for empty string in locale. 

This safeguards against an empty string in locale.

This addresses the issue: [#3535](https://github.com/saltstack/salt/issues/3535)