plugin dirs should only be skipped if inside APP and no plugin param is ...

...given

Otherwise you cannot run it for plugins directly.