two things:
- In #23 Hob knows where the foot hideout is.
- Alopex is planning to betray Shredder.
it's not too hard to fit these two "puzzle pieces" together...
And Shredder is probably not that stupid, and very likely already figured out that, the turtles will be coming, and he just used Alopex's betrayal as the part of his plan. Since Bobby said "the Shredder will play it like a giant game of chess", I think this will be the way.