Fix occasional bug if MD5 isn't generated