bots: Fix image download speed
bots: Fix image download speed

Use the fastest possible (determined via latency) place to download
an image from. Unless we are using the --state parameter, in which
case the last modified date is respected when choosing a location.

Closes #9509

SotolitoLabs/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,deryni/cockpit,moraleslazaro/cockpit,deryni/cockpit,mareklibra/cockpit,mvollmer/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,martinpitt/cockpit,deryni/cockpit,deryni/cockpit,martinpitt/cockpit,cockpituous/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,andreasn/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,garrett/cockpit,garrett/cockpit,garrett/cockpit,mareklibra/cockpit,cockpituous/cockpit,andreasn/cockpit,moraleslazaro/cockpit,martinpitt/cockpit,cockpituous/cockpit,martinpitt/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,mareklibra/cockpit,mareklibra/cockpit,mvollmer/cockpit,cockpituous/cockpit,garrett/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,andreasn/cockpit,mareklibra/cockpit,andreasn/cockpit,andreasn/cockpit,garrett/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,andreasn/cockpit,andreasn/cockpit,moraleslazaro/cockpit,deryni/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,deryni/cockpit,deryni/cockpit,mareklibra/cockpit,martinpitt/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit