fixed insert cert info to pkgmgr db when hybridapp.