"payment made by or execution levied upon the garnishee under the provisions of this act shall be valid discharge of the debt or amount of emoluments due from him to the judgment debtor to the extent of the amount paid or levied"