Custom resource shows as "unknown" in export dialog

I’ve created a module with a custom resource type. Both the moduleId and resourceType are set for the module and everything is working well. However, the export dialog shows the resource under a folder of “Unknown”. How can I change this?

Thanks.