fixed get source index when running in osgi with insight-log