In like manner, any collateral security held by any creditor for his debt shall be valued by said tribunal, and if the security be retained by the creditor his dividend shall be on the difference between his claim and the value of his security, so ascertained: Provided, That the creditor shall have the right to surrender his security, and take a dividend on his whole debt. If such creditor refuses to have his security valued or surrender the same, he shall be excluded from participation in the fund.
39 P.S. § 90