this fixes the valgrind plugin because somehow the null check fails even when the pipeline is not null