How can resolvedPath be different from path? The command just does ... && echo 'path' -- the original path variable in single quotes, I don't see how it could echo anything different from the var value as-is...