if getMetadataForRegion returns NULL, continue

getMetadataForRegion can return NULL for invalid region codes, in that case just continue looping region codes