Neither the assignment nor the underletting of any lease by the trustee of a bankrupt, or by the liquidator on behalf of a company (other than a liquidator in a voluntary winding up of a solvent company), nor the sale of any lease under an execution, nor the bequest of a lease shall be deemed to be a breach of a covenant, condition, or agreement against the assigning, underletting, parting with the possession, or disposing of the land leased.