Fix case where port is missing
Fix case where port is missing

Forward port of 6d3b5b24fd4f82c1cbfbc4cade5246a0335f8dda to master

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