minor bug detecting tunnel states when webdav is disabled