Make archive downloading work with Github Enterprise URLs