Added correct fallback behaviour for XDG-config-dir