fix(injector): allow using static injector without transformers

what is this for? The old line prints out pub build output. Also this makes tests fail because `set -e` and grep returns 1