Returns the last existing created snapshot

def _get_last_snapshot(config='root'):
    '''
    Returns the last existing created snapshot
    '''
    snapshot_list = sorted(list_snapshots(config), key=lambda x: x['id'])
    return snapshot_list[-1]