sequencer: use the_hash_algo for empty tree object ID