Replace smack label with pkgId.