This doesn't really make sense to me. Hides make the snake feel more safe and when they feel safe, they're less likely to strike.
It's a different story if you're trying to pull them out of their hide to handle. Then, yes, they might get defensive. If you want to "tame" your snake, only handle them at night when they're out of their hides on their own. From my experience, they're a lot grumpier if you forcibly take them out of their hide.