I’ve just realized something. I have the WP link checker plugin installed (the CDN plugin info page says something about a conflict with the WPLC plugin).
I’ll deactivate it and see how the migration goes. I’ve also seen that older images are kept in place.
EDIT It still shows up the error message with WPLC deactivated. I’ve opened a ticket.