Fix bug 965357: add guard against export in PATH in rhcsh