Old versions of PyYAML serialize dicts using {} instead of 'key: value';
but {} was interpreted by .format(), causing a KeyError.
Fixes debian build [1]
[1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DSEA/job/gbp-buildpackage/12/console