During my tests this PR resolvePath() returned ```/folder1/folder2/folder3```, keep in mind that I also did some small changes to resolvePath() which you can see above.