You can also make a squirt bottle of lemon water and squirt him when you see him enter.. squirt him till he goes out of the doggy door.
I've also heard of spreading lemon or orange peels around.. I guess they say cats hate citrus.. then you would have to worry about your pups getting it.. Maybe you can nail some peels around the doggy door?? LOL