Yeah, there's no way of controlling when or where snakes "go to the bathroom". My BP has pooped in my sweatshirt twice, one in the hood and one in the pocket (same sweatshirt). They just go when/where they want.
There is absolutely nothing you can do to "train" a snake in any way.
The best you can do to avoid this, is look for the "sausage butt" like stated above.
And also, like stated above, you are almost definitely over handling your snake. An hour a day is way too much for a snake you've only had for 6 weeks or so. Let your snake get more comfortable in her new home for a while, limit your handling sessions and make sure your husbandry is on point. The stress of so much handling may be a factor in the pooping situation.
And it is worth mentioning: are you absolutely sure she isn't "musking" or evacuating in a defensive way due to stress or fear? It is a common defense technique snakes use. Can you safely rule this out?