of the debt with respect to a loan made under subsection (d) if the Secretary determines that a permanent loan to finance the project cannot be obtained in an amount adequate for repayment of a loan made under subsection (d). (g) Grants (1) In general A grant under this section for expenses incidental to planning and obtaining financing for a project described in this section that the Federal Cochair considers unrecoverable from the proceeds of a permanent loan made to finance the project— (A) may not be made to an eligible entity established for profit