Add check for bad urls in load_trip_from