(a) no pet owner can be identified;
(b) the pet remains originate with a municipality;
(c) the pet is abandoned pursuant to article twenty-five-B of the agriculture and markets law; or
(d) the pet is to be disposed of without charge to the pet owner.