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?
This is the opposite behaviour as the deleted lines, but it looks correct now.