PLF-3727: Fix possible NPE when initializing object
PLF-3727: Possible NPE in UpgradeContentPlugin

Fix description:
	- Avoid unexpected exception.
PLF-3727: Possible NPE in UpgradeContentPlugin

Fix description:
	- Refactor code
	- Check if having any externalComponentPlugin before upgrading any data.