Fix htaccess check error

Resolves https://github.com/owncloud/core/issues/10473

@karlitschek Should we backport this as it should have been done when the above case was fixed?
Actually no i just realized this is incorrect logic it should only return true if the contents do NOT match which would mean that the htaccess is indeed blocking the directory i'll correct now.