Fixed check for existing dotfiles as well as symlinks