Bees are so important in our world that an alternative to a deterrent would be better. I have seen people specially design bridges into bird baths so bees can also drink without drowning. There are lots of ideas about how to help bees. Search for organizations in your local area.