do not check WebDAV and htaccess if we do not have an internet connection

Checking WebDAV and htaccess will result in timeouts and warnings if we do
not have an internet connection but access ownCloud via the internet, like
it is the case when ownCloud is behind a reverse proxy.