Make sure the tree is not expanded (after browsing packages in the package provider) if it initially was collapsed
Preserve tree expanded state after browsing packages

Merge remote-tracking branch 'rtripault/leftbar-packages' into tree-state-packages

* rtripault/leftbar-packages:
  Make sure the tree is not expanded (after browsing packages in the package provider) if it initially was collapsed