Describe the bug
The cd command does not change the current working directory.
Therefore, after running cd command to other directory and again, the validation will fail even the directory is exist.
To Reproduce
- cmd cd ..
- cmd cd
$ANY_DIR
Expected behavior
If the target is a directory and it exists, directory validation passes.