yes, This is how the old function got called.  I think we should change to `get_preview_plugin(package_dict, resource_dict)` to be less mental - shall I do that now?