If no other funds are available for the purpose, a county may incur all necessary expenses in transporting a nonresident indigent to another state or county, when information at hand reasonably tends to show that the person has a legal residence in such state or county.