Gracefull handle link shares rename hook
Gracefull handle link shares rename hook

Fixes #21678

The hook is called on all renames. However when we use a link share
the getUserFolder fails. We now just opt out.

owncloud/core,pixelipo/server,xx621998xx/server,sharidas/core,xx621998xx/server,xx621998xx/server,pmattern/server,bluelml/core,michaelletzgus/nextcloud-server,whitekiba/server,whitekiba/server,cernbox/core,michaelletzgus/nextcloud-server,jbicha/server,cernbox/core,pollopolea/core,endsguy/server,andreas-p/nextcloud-server,owncloud/core,michaelletzgus/nextcloud-server,endsguy/server,jbicha/server,whitekiba/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,jbicha/server,bluelml/core,andreas-p/nextcloud-server,owncloud/core,jbicha/server,IljaN/core,Ardinis/server,pixelipo/server,nextcloud/server,pollopolea/core,IljaN/core,Ardinis/server,nextcloud/server,whitekiba/server,pmattern/server,Ardinis/server,xx621998xx/server,endsguy/server,Ardinis/server,IljaN/core,pollopolea/core,endsguy/server,owncloud/core,sharidas/core,andreas-p/nextcloud-server,pmattern/server,cernbox/core,michaelletzgus/nextcloud-server,whitekiba/server,sharidas/core,pixelipo/server,pollopolea/core,bluelml/core,sharidas/core,pixelipo/server,nextcloud/server,pmattern/server,nextcloud/server,bluelml/core,endsguy/server,bluelml/core,pmattern/server,xx621998xx/server,IljaN/core,IljaN/core,sharidas/core,phil-davis/core,Ardinis/server,pollopolea/core,owncloud/core,cernbox/core,cernbox/core,jbicha/server,pixelipo/server