Avoid segfault caused by missing region_name

For some country+region combos, region_name might not be found, which
results in a NULL string and causes segfault when strlen() is performed
on it.