LPS-48313 partial revert of the logic that breaks deployment of the OSGI modules that require web.xml