backport of https://github.com/owncloud/core/pull/5247

ensure the view's root is a subfolder of the the default root, not only starting the same