Fix/4.0.x/ecms 5428

Link issue: https://jira.exoplatform.org/browse/ECMS-5428
Fix description: Update "ActivitiesUpgradePlugin" to fix the problem while migrating content activities that have target node war moved or deleted.