Whenever the sale of any property is not confirmed or is set aside, the purchaser shall be entitled to receive back his deposit or his purchase money, as the case may be. ...