[AS7-6727] Modular build for Karaf broken