Fixed minor bug in check if jar file exists.