[trimmessage-as-deps] Do not sniff until vendor/ is excluded