Remove the isLocal and use location() == Unknown.

See also:

https://hypernews.cern.ch/HyperNews/CMS/get/swReleases/3993.html