Fix composer dump-autoload command after make:migration
Merge pull request #6595 from xsbeats/bugfix/migration-dump-autoload

[5.0] Fix composer dump-autoload command after make:migration