Fix bug with project dir not resolving as in the project
What does this MR do?
Fix an issue with doublestar splitting paths that don't have a pattern.
Why was this MR needed?
To address a bug
What's the best way to test this MR?
Follow the repro steps in the issue
What are the relevant issue numbers?
closes #29582 (closed)