Merge pull request #98 from dart-lang/fix_npe

fix an npe in the getPlatformLocale method