Return early if path is root
Return early if path is root

Signed-off-by: J0WI <53ceeee529744d5ae9ff4d72086e369623c66dfa@users.noreply.github.com>

nextcloud/server,nextcloud/server,nextcloud/server,nextcloud/server