chore(): fix getLocale which could expose an array if the found locale has no territorry

introduced in 7cbfabecc5
chore(): `window.navigator` is not allowed to be overridden (sometimes silently), therefor bypassing our internal getLocale()
Merge pull request #270 from knalli/fix-getLocale-stuff

Fix get locale stuff