Fix bug in 2.0.0 migration script
Fix bug in 2.0.0 migration script

Migration script could lead to JavaScript errors and crash the process
when there was nothing to migrate.

veo-labs/openveo-core,veo-labs/openveo-core,veo-labs/openveo-core