build: create pkginfo dir earlier to avoid build breakage