Prevent ReflectionTypeLoadException

Hello I fixed a bug that occurred in my project. Some assemblies returned null for GetTypes then did a treatment to prevent this exception.