Only inspect jar artifacts.

Opening e.g pom dependency artifacts as jar files causes IOExceptions.