location.getPackage will only return a non-null value if the current ClassLoader is already aware of the package