Many reactors can be updated to last longer than their initial design lifetime. This is usually far cheaper than building a new reactor. I expect that if the political environment in germany was more conducive to nuclear, that is what they would have done.