Can we strenthen this with an assertion in some strategic location that would detect if we somehow ended up with an unpickled `ScalaPackageClass`?