The non-pkg-config
path is ignored as there is a hope to get rid of all of them in #18307.
As xenial has libevent 2.0.21 only, the default bionic Docker image is used in the "[no depends, only system libs, sanitizers: thread (TSan), no wallet]" CI test.