Add a selftest.fail() reason
Fix direct dependency reporting.

And test for it.