Add logging to TheSameAs and detect excluded paths up front
Add error logging to TheSameAs matcher