[syncView] Improve message when tree item is not found in tests