Fix bug when detecting jacoco agent library