gpodder.model: Fix problems with migrated databases

I'm finally migrating from gpodder 2 to 3, and when starting up gpodder3
after running the migration, I ran into the following uncaught exception
(which aborted gpodder):

TypeError: coercing to Unicode: need string or buffer, NoneType found