That way if a wrong protocol had been entered the currently watched directory will be returned. CCBUG:274890 REVIEW:101580 (cherry picked from commit 7c85b620)