One of the problems with the bear and/or pepper spray, is if the wind is at your back. Normally a tail wind is welcome when riding, but definitely not in this case. You certainly don't want to get a face-full of what you're trying to use to get the dogs to back off. This could likely cause the situation to end badly.