VIVO-711 trapping for invalid URIs generated in the migration