Fix checking of owncloud presence