'Undo skip_cell_sync()\'s cell_name modification if applied'

def _normalize_cell_name(self):

    if ((not self.obj_attr_is_set('cell_name')) or (self.cell_name is None)):
        return
    cn_changed = ('cell_name' in self.obj_what_changed())
    if self.cell_name.startswith(cells_utils.BLOCK_SYNC_FLAG):
        self.cell_name = self.cell_name.replace(cells_utils.BLOCK_SYNC_FLAG, '', 1)
        if (len(self.cell_name) == 0):
            self.cell_name = None
    if (not cn_changed):
        self.obj_reset_changes(['cell_name'])
