When makekeys fails to find a good hash, print error instead of divide-by-zero