Did you figure out why PackageRegistration was coming back as null sometimes?