You can get the dog deterrent at Petsmart for around $10. The idea behind wasp spray is that it's very accurate for quite a distance,I believe it also blinds either human or animal- at least temporarily

but as someone has already mentioned, could you carry a can that size,handle a leash & probably poop bags too?