Fix machine delete in puppet DB.