[directory] The check actually works on windows
[directory] The check actually works on windows

[skip ci]
Wattpad/dd-agent,Wattpad/dd-agent,gphat/dd-agent,Wattpad/dd-agent,Wattpad/dd-agent,pmav99/praktoras,c960657/dd-agent,tebriel/dd-agent,jyogi/purvar-agent,jyogi/purvar-agent,gphat/dd-agent,cberry777/dd-agent,tebriel/dd-agent,cberry777/dd-agent,jyogi/purvar-agent,cberry777/dd-agent,jyogi/purvar-agent,indeedops/dd-agent,gphat/dd-agent,takus/dd-agent,pmav99/praktoras,indeedops/dd-agent,tebriel/dd-agent,manolama/dd-agent,tebriel/dd-agent,cberry777/dd-agent,jyogi/purvar-agent,takus/dd-agent,takus/dd-agent,indeedops/dd-agent,manolama/dd-agent,gphat/dd-agent,pmav99/praktoras,c960657/dd-agent,indeedops/dd-agent,gphat/dd-agent,takus/dd-agent,tebriel/dd-agent,indeedops/dd-agent,takus/dd-agent,Wattpad/dd-agent,pmav99/praktoras,manolama/dd-agent,pmav99/praktoras,manolama/dd-agent,cberry777/dd-agent,manolama/dd-agent,c960657/dd-agent,c960657/dd-agent,c960657/dd-agent