[package] common.sh: don't install toolchain if wc -l == 0 (no match)