Cycles: A material that blocks diffuse from the environment sky?

What I try to do is a plane that gets diffuse rays from other objects but not from the environment, is there a way to do this? I’ve been trying to play with the Light Path node but with no success so far.