Added special cases to Path::isLocal()