Removes any external reference from the role

def remove_external_references(self):
        """
        Removes any external reference from the role
        """
        for ex_ref_node in self.node.findall('externalReferences'):
            self.node.remove(ex_ref_node)