PathObserver now closes immediately if it has no valid object to observe