'Resolve the remove_policies to names for removal.'

def _name_blacklist(self, update_rsrc_data=True):

    nested = self.nested()
    current_blacklist = self._current_blacklist()
    rsrc_names = set(current_blacklist)
    for r in self.properties[self.REMOVAL_POLICIES]:
        if (self.REMOVAL_RSRC_LIST in r):
            for n in r[self.REMOVAL_RSRC_LIST]:
                str_n = six.text_type(n)
                if ((not nested) or (str_n in nested)):
                    rsrc_names.add(str_n)
                    continue
                rsrc = nested.resource_by_refid(str_n)
                if rsrc:
                    rsrc_names.add(rsrc.name)
    if (update_rsrc_data and (rsrc_names != set(current_blacklist))):
        self.data_set('name_blacklist', ','.join(rsrc_names))
    return rsrc_names
