Fix segfault in the case that no plugin has been registered on start-up.
Fix segfault in the case that no plugin has been registered on start-up.

Core-Development-Group/OpenPL,Core-Development-Group/PlatformLibrary,Core-Development-Group/PlatformLibrary,Core-Development-Group/OpenPL