Fix `fetch_git` with `--keep` (sstephenson/ruby-build#549)