Determine DOTFILES_ROOT correctly

and cd into it. This fixes gitconfig.