Method "yii\console\controllers\AssetController::loadBundleDependency()" has been improved allowing dection of the circular dependency.