git-send-pack: fix --all option when used with directory