MRA/Exporters/MatExporter: Fix for possible null pointer exception.