improve the dist assume-unchanged git hack