Local purebred dog returned to original owner after wild custody dispute