'Return object next highest up the tree.'

def get_parent(self):

    if (((self.parent is None) or (self.parent == '')) and self.profile):
        return self.collection_mgr.profiles().find(name=self.profile)
    elif (((self.parent is None) or (self.parent == '')) and self.image):
        return self.collection_mgr.images().find(name=self.image)
    else:
        return self.collection_mgr.systems().find(name=self.parent)
