Fixed issue with reading class names when the applicaton is package in a
jar.