rerere: make sure it works even in a workdir attached to a young repository