fix bug: ignore user home directory

Because user home directory isn't included in .gitconfig, ignore init option `--dir` to set user custom home directory.
fixed this bug and now `init --dir` option works.