was checking against the wrong plugin type (ApplicationPlugin instead of AppPlugin)