When a doubt exists as to the title of the defendant to personal property which the sheriff is required to levy upon, he may demand indemnity from the plaintiff.