[stable7] Don't complain about non-writable datadirs before we're installed

Backport of https://github.com/owncloud/core/pull/10934 to stable7