Fix updateApp() and add extra check to updateApps()
Fix updateApp() and add extra check to updateApps()

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