Check for the path existence.