fetch-pack: support shallow requests