This reverts commit 78067deb89. Commit d5ba1fe2 unsets XDG_CONFIG_HOME when setting up the environment. Related to #17730
78067deb89
d5ba1fe2