get_short_sha1: refactor init of disambiguation code