fixed: prevent infinite loop in add-on dependency checks

recently, we had a crash caused by two add-ons depending on each other.