How to reproduce:
1. Open the attached "ValidFolderBug" project
2. In the menu bar, select “Tools → ValidPath”
3. Press the “Folder” button
4. In the explorer window, press “Select Folder”
5. Observe the result
Expected result: The project path is selected and no message box is shown
Actual result: A message box is shown, signaling that the path is invalid
Reproducible in: 2021.3.40f1, 2022.3.38f1, 6000.0.10f1
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested