[...]
(2) This Part does not apply to
(d) a corporation having as its primary object the furtherance of any religious or other charitable purpose, no part of the income of which is payable to or otherwise available for the personal gain or benefit of any proprietor, member or shareholder thereof; or