Fix possible NPE
Remove managed dependencies versions
[KARAF-2994] Fix unit tests
[KARAF-3003] Allow deployment based on generic requirements, bundles and bundle dependencies
Fix possible NPE