Issue #2717483 by pguillard, mikeryan: Empty migration_dependencies gives "Unsupported operand types"