fix xdg directory

before this, there is a / between the . and the file for ~/.saltrc, so it checks
for ~/./saltrc
Merge pull request #13398 from gtmanfred/xdg

fix xdg directory