ensure ClassLoader.getPackage works with all class libraries

There's more work to do to derive all the properties of a given class
from its code source (e.g. JAR file), but this at least ensures that
ClassLoader.getPackage will actually return something non-null when
appropriate.

Fixes #203