I don't know whether to joke or give you a serious answer, you seem earnest.
No, snakes kept as pets will not attract wild snakes... For any reason. There's no science behind it because it's never happened. I wasn't aware it was even a myth.
Edit: Have to add my disclaimer that that statement is "as far as I know" and "as far as google would take me." There were no documented cases of pet snakes attracting wild counterparts. If a member on here has better information I'm sure we'll hear it. I'm just boggled by the idea that someone came up with the thought...