This seems like overthinking things. I'm just a layman but wild packs of monkeys have been observed to attract street dogs because they litter food all around them. I think that's a much more likely explanation, that human nomadic settlements dropped food around them during surplus times and wolves picked up on this and gradually became domesticated.