Fix dead history on empty repository.