Use tar to dump/restore repos instead of git bundle create/git clone.

"git bundle create" fails if target repository is empty and can not
keep hooks scripts.