Fix for distro download method.