This reverts commit d45b820d.
This commit caused a crash when opening the same location from the sidebar in two windows.
Reproduction steps:
- Open a second window
- In the first window navigate to a folder from the sidebar
- In the second window navigate to that same folder from the sidebar