correct approach to detect installed plugins (#45)