Plpython trigger: only import "varnish" module if needed