Bug in plone.app.theming and Plone 5

Plone.app.theming breaks when saving theme details.
I've filed the bug here: https://github.com/plone/plone.app.theming/issues/85