Revert "LPS-48313 the previous logic was not valid because some OSGI plugins still have docroot/WEB-INF/web.xml but docroot/WEB-INF/lib"

This reverts commit 72c4ae1802a84a959d10145f75e4d14502b7e31a.
Revert "LPS-48294 Fix lib dir for all plugins that have docroot/WEB-INF"

This reverts commit 4df3c127c8a0a3cab7c9a0341caa15e8b00bf480.