Fix for ESBJAVA-3345
Changes made after regression test
Merge pull request #50 from kishokpriya/feature1

Fix for ESBJAVA-3345
Merge branch 'master' of https://github.com/wso2-dev/carbon-deployment into remote
adding null check while reading osgi service