fix check_download_bug for redhatpatching