babs: fix history alignment to behave better with git hashes