Fix getJarLocation() to fix #2