Fix crash upon XDG_CONFIG_HOME not being defined