Delay check till scanner is used
Fixes https://github.com/owncloud/core/issues/22973 and https://github.com/owncloud/core/issues/22987
Please register or sign in to comment
Fixes https://github.com/owncloud/core/issues/22973 and https://github.com/owncloud/core/issues/22987