the pkgmgrinfo_appinfo_get_label API needs a char**, then we don't need to copy around.