Fix wrong path generation
Fix wrong path generation

* fixes #15742

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