Exactly, and I am thinking that most people will insist that people take their solar panels with them.
I would be very surprised. For starters, even making the analysis you are presupposing assumes more knowledge of the energy market than is likely in the typical buyer. Moreover, asking for it to be removed implies reverting to utility power, at notable expense per month, or installing one’s own system at non-trivial outlay or a new lease.
People may decide that a house is unattractive because of the solar panels and demand that they be removed as a part of an offer, but I find it hard to believe that anyone who genuinely liked the house with the panels would do anything but see it as a plus because of the savings over using the utility. And, frankly, the balance on the lease … considering that it also covers one’s power bill for that period, is trivial compared to the cost of the house. You are talking as if the solar installation was massively expensive and the remaining 10 years lease was just paying off some capital improvement. But, it isn’t. Those remaining 10 years are payments which provide most of one’s power at a lower rate than one would get from a utility. Whole different kettle of fish.