pts-core: Crash fix if passing an object name to the command line and the module_manager attempts to try to access a non-existant class constant