Small cleanup of rename code
Small cleanup of rename code

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