I suspect that as a fully synthetic opiod, fentanyl is less likely to have much in the way of higher vapour pressure impurities vs. an acetylated purified plant extract like heroin. My guess is that on top of taking up 20x less space, it's more than 20x harder for dogs to smell due to having fewer low molecular weight impurities that outgas/evaporate.