hash: fixing hash generation if the hash.rst file doesnt exist