Fix bug in CLI's pathResolveRecursive() function.