Slightly better workaround for unknown Python workspace types.

It's still a sticking-plaster fix as it's a little late in the cycle to
implement the plugin exposure to Python.
Refs #9378
Merge branch 'feature/9378_filter_event_inelastic' into develop