Issue #3093652 by heddn, mradcliffe, Wim Leers, benjifisher: Make migrate_upgrade compatible with Drush 10