By default, if the groupname is None, set it to 'DEFAULT'. Seems like several libraries are exporting such groups, and it causes sorting the 'by_section.items()' list to fail. Change-Id: I2001dc4894ff1e24c0eaed9ba71e3c5fba02ae36