Extract applicationRootDirectory parameter from getPluginManager factory.