Update tag_search and fix new_wine_prefix var expansion