Partially restore __pkginfo__ module (closes #295480) [applied]