A 29:

You never need to fail a check. If for some reason you would want to, you simply don't do whatever it is that would call for a check. In this situation, you could simply tell your familiar not to investigate.

Though I'm not sure what you're trying to accomplish, here: An imp could see through both real darkness or a recognized illusion of darkness.