Roof leaks that are accidental are covered by insurance, and the work to remove or replace the panels is part of that. Typically you adjust your home insurance coverage by the value of the panels when you install them to make sure everything's covered.
That just leaves the chance that the installer work will be good enough to make it ten years but not twenty, and the insurance won't cover the damage. I don't know the odds of that. It seems like it would be infrequent, but what numbers do you use?