Use correct comparison to None.

I wonder if this sheds some light on a flickering subversion test failure.