Move this test outside the `foreach`.
Plus : Maybe add an alert at top of the plugins list to tell that it's not possible automaticaly install a plugin because of that.