[Global] Prevent NPE when a command is already registered by another plugin