Fixes for crashes with new libgweather
This fixes two unrelated crashes with libgweather 3.34:
- First crash happened when trying to load weather for Moscow (or any other city in Russia).
- When testing the fix, I found another crash that happened when I tried to add a new location for Riga.
Please see the commit messages for more detail.