Fix a 'zero length field name in format' error on py2.6

https://travis-ci.org/fedora-infra/fedmsg/jobs/10162150