Directory: Fix not working search in cwd on Linux