Return an error if the path for network drive detection does not exist.