Increase repository.GetForEachRef coverage