If an instrument in the chain of title to the common elements in a condominium, in the common facilities or controlled facilities in a planned community or in the chain of title to a real estate cooperative includes an unlawful restrictive covenant, the board may perform a landowner repudiation in accordance with section 7404 (relating to repudiation of unlawful restrictive covenants).
68 Pa.C.S. § 7407