avoid duplicate plugin selection

Simple check to avoid installation of a plugin multiple times.