the term qualified nonprofit organization means any organization if— (i) such organization is described in paragraph (3) or (4) of section 501(c) and is exempt from tax under section 501(a), (ii) such organization is determined by the State housing credit agency not to be affiliated with or controlled by a for-profit organization