Avoid expanding paths for algorithm variables that can match local work directories. Thanks to @brentp for report.