Do a Null check on metadata for regioncode, as the getMetaDataForRegion can return NULL on unsupported regioncodes