Treeview widget: Fix condition where browser is not present