Check for unset DOWNLOAD, MD5SUM and HOMEPAGE

... and fix.