Bug 1092152 - Don't calculate the downloaded file hash if we didn't download it. r+a=fabrice