Added check in modules.locale for empty string in locale. This
safeguards against an empty string in locale
Merge pull request #3536 from auser/develop

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