Add intelligent vendor pruning (via "go list") Upstream-commit: e3821feb137a81683f1763cc64b85d47ad4545bf Component: engine