Let me second Dennis' comment.
"And now for something completely different" (M. Python circa 1970)
I use a different approach to getting the folder spec.
See attached jpg.
This sub-VI repeatedly strips a path until it finds the folder spec.
This approach works in all environments including dynamically loaded VI in exe's.
It should also be cross platform compatible, but alas I can not say that I have ever tried it outside a Windows environment.
This method does not require any property nodes which can affect the thread the VI runs in.
Offering another approach,
Ben