Use `is None` instead of `not`.

There's a reason it has been invented. This (and my next PR) probably fix the "local timezone doesn't work anymore" thing.