Sync get_search_path with windows-chewing-tsf