Fix parsing of global macros if not defined.

Refs #5099
Migration: Fix duplicate command creation.

Refs #5099
Migration: Add -O for objects.cache fallback.

Fixes #5104
Merge branch 'fix/migration-parsing-5099' into next

Fixes #5099
Merge branch 'feature/migrate-objcache-5104' into next

Fixes #5104