[JBIDE-14923] NPE in MetaClassTemplateHelper

leave superclass and interface uninitialized in case of
publicId is null