FABRIC-712: Do not hold lock while accessing the OSGi registry