Check if a path is in PATH