Fixes #1649. Adds exclusion rules into SHA-1 of minigraph path

Fixes #1649.
Yes. Ivy, like many Java libraries, have nice `toString()` normally. :neutral_face: