Updated the namespace extraction in osgi services.