mod - ensure that commit sha matches tag commit sha on rollback / make _dulwich_reset_to_tag default reset to HEAD.

Change-Id: I0783f330e0c3bb6b30f6ee430e82fc967e0b5942