[imp] [33694] Don't use deprecated $app->getCfg for the plugins folder.
Closes #3553