Check if a path is in the current working directory