Changed ownCloud test for better datadir detection