def _get_bookmark(repo, name):
    '''
    Find the requested bookmark in the specified repo
    '''
    try: