"I still don't understand why a chemical repellent hasn't been developed. It seems like it would have so many applications. There must be something that tastes bad to a bear."
I worked for a professional hunting guide once that over his many years of killing moose on the Alaskan Peninsula regularly peed and spread pepper around carcasses to keep bears away while they made multiple trips to pack out meat, hide and rack. Apparently it worked pretty darn well and reliably, and this was in serious bear country.
So, just pee on your bear canister, pepper it a bit, and sleep in peace. ;)