Avoid crash when duplicate plugin IDs are read from config file