VersionUtil: fixed check if a match was found
handle empty JARs
fixed build with work-around for missing dependency