By default `.get()` will return `None` on a key that doesn't exist. This causes a `TypeError` in the `for` loop a few lines down. This change simply returns an iterable type to avoid the error.