Check if a path is in CWD