Factor out a get_contry_name utility