Exclude PATH from .updateenv output file.