A lease to a municipality shall not be treated as an executory contract or unexpired lease for the purposes of section 
365 or 
502
(b)(6) of this title solely by reason of its being subject to termination in the event the debtor fails to appropriate rent.