Fixed a regression introduced in v6.8.0 when the optional `glyph_data` parameter is passed to `to_designspace` and `to_ufos` functions. This corresponds to fontmake's `--glyph-data` CLI flag, and consists in a list of paths to custom GlyphData.xml files. After v6.8.0, an `AttributeError: 'list' object has no attribute 'names'` exception was raised when the parameter was set (1019, 1020).