Even in that case, you are overpaying in the early years and getting free electricity for the rest of the life of the system. If you can only get a 7 year loan, you may have a higher bill for 7 years, but no bill for 18 years while electricity prices continue rising is a pretty awesome benefit.
You still weigh the balance to figure out what is economically the best option.