Unable to create plugin with Program and PostConfigInit

When trying to create a plugin module with the "Type" : "Program" and "LoadingPhase" : "PostConfigInit" it seemingly always fails with LogModuleManager : warning : No filename provided for module SomePlugin.

The only plugin I can find in the engine that uses this is the ScriptPlugin which also has the same error when being built into a project. I am not building as an engine plugin.