Fixed duplicate plugin loading in metadataeditorrepository.js