When I dreamed up my idealized city-state, there was no welfare system, but there was an organization that collected a tiny fee from each airline ticket that would provide a trip home for stranded travellers. Although they might have to wait a bit at a hostel first.