fix php warning if DataImportHandler is not loaded for a core