Use the asyncronous function infrastructure in builtin-fetch-pack.c.