Raise user friendly errors in case of Cyclic Dependency

Fixes #2506