[BUGFIX] Endless loop in check for broken extensions