Show warning about cyclic deps only if found

The cyclic deps warning title was printed whether or not cyclic
dependencies are actually found or not. This commit fixes it.