fix(circular deps): Improve error messages

As we don't check for circular dependencies before a given depth
threshold is reached we had messages like:

    "A -> B -> A -> B -> A -> ... -> A"

This commit implements a deduplication to have only:

    "A -> B -> A"