Fix two instances of using None, which would cause an AttributeError.
Fix two instances of using None, which would cause an AttributeError.

Submitted by: Jon Nelson


hodgestar/genshi,hodgestar/genshi,hodgestar/genshi,hodgestar/genshi