Close stdin before running the backup-export hooks.
Close stdin before running the backup-export hooks.

This avoids hanging when we're not in a pty.
klodoo/dokku,vijayviji/dokku,beedesk/dokku,sebastianscatularo/dokku,aydintd/dokku,frog/dokku,ryana/dokku,mikexstudios/dokku,mouserage/dokku,F4-Group/dokku,ebeigarts/dokku,lemmycaution/dokku,barseghyanartur/dokku,vijayviji/dokku,hanwoody/dokku,jimeh/dokku,claytonbrown/dokku,netbrick/dokku,kennetham/dokku,bobvanderlinden/dokku,crisward/dokku,bkniffler/dokku,henrik/dokku,bkniffler/dokku,bewest/dokku,nnnnathann/dokku,hbouvier/dokku,frog/dokku,pmvieira/dokku,mehulsbhatt/dokku-alt,sebastianscatularo/dokku,codeconfab/dokku,banyan/dokku,beedesk/dokku,mlebkowski/dokku,u2mejc/dokku,zimbatm/dokku,mjmeintjes/dokku,vkurup/dokku,stenius/dokku,elia/dokku,leonardodino/dokku,TribeMedia/dokku,floatdrop/dokku,alexquick/dokku,mouserage/dokku,henrik/dokku,dsrowell/dokku-alt,vijayviji/dokku,bobvanderlinden/dokku,Evlos/dokku,Git-Host/dokku,F4-Group/dokku,floatdrop/dokku,biddyweb/dokku,stepri/dokku,suxor42/dokku,vkurup/dokku,mehulsbhatt/dokku-alt,mouserage/dokku,gdi2290/dokku,expa/dokku,zimbatm/dokku,elia/dokku,ddreaml/dokku,eljojo/dokku,gianpaj/dokku,ertrzyiks/dokku,premist/dokku,vlipco/dokku,stenius/dokku,rocLv/dokku,pmvieira/dokku,dsrowell/dokku-alt,johnfraney/dokku,econya/dokku,tidepool-org/dokku,jazzzz/dokku,hbouvier/dokku,ertrzyiks/dokku,bewest/dokku,netbrick/dokku-alt,arsthanea/dokku,tidepool-org/dokku,klodoo/dokku,crisward/dokku,fruitl00p/dokku,netbrick/dokku-alt,mmerickel/dokku,bogdal/dokku,alexquick/dokku,vfulco/dokku-alt,gabrielrios/dokku,vlipco/dokku,Git-Host/dokku,johnfraney/dokku,Fab-IT-ApS/dokku,lukas2511/dokku,Cactusbone/dokku,hanwoody/dokku,rocLv/dokku,jamesblunt/dokku,claytonbrown/dokku,bewest/dokku-alt,lemmycaution/dokku,pmvieira/dokku,fmoliveira/dokku,fmoliveira/dokku,klodoo/dokku,mehulsbhatt/dokku-alt,mouserage/dokku,econya/dokku,arsthanea/dokku,experimental-platform/dokku,akatrevorjay/dokku,vkurup/dokku,vfulco/dokku-alt,frog/dokku,callahad/dokku,plietar/dokku,zimbatm/dokku,vkurup/dokku,cjblomqvist/dokku,bobvanderlinden/dokku,emdantrim/dokku,claytonbrown/dokku,mjmeintjes/dokku,biddyweb/dokku,lukas2511/dokku,fmoliveira/dokku,banyan/dokku,jimjag/dokku,netbrick/dokku,mouserage/dokku,vfulco/dokku-alt,sebastianscatularo/dokku,bkniffler/dokku,Cactusbone/dokku,vijayviji/dokku,fkowal/dokku,basicer/dokku,stenius/dokku,eleventigers/dokku,gdi2290/dokku,mrluc/dokku,netbrick/dokku-alt,yuvadm/dokku-base,ertrzyiks/dokku,beedesk/dokku-alt,ddreaml/dokku,cjblomqvist/dokku,gianpaj/dokku,arthurschreiber/dokku,hbouvier/dokku,lmars/dokku,gdi2290/dokku,3onyc/dokku,alessio/dokku,nnnnathann/dokku,fkowal/dokku,lemmycaution/dokku,jimjag/dokku,elia/dokku,kennetham/dokku,jimjag/dokku,barseghyanartur/dokku,eleventigers/dokku,mehulsbhatt/dokku-alt,beedesk/dokku-alt,dsrowell/dokku-alt,zimbatm/dokku,Evlos/dokku,jvanbaarsen/dokku,floatdrop/dokku,banyan/dokku,yuvadm/dokku-base,ignlg/dokku,gianpaj/dokku,mlebkowski/dokku,vfulco/dokku-alt,barseghyanartur/dokku,beedesk/dokku,davidsiefert/dokku,ksokhan/dokku,emdantrim/dokku,vkurup/dokku,biddyweb/dokku,vlipco/dokku,RsrchBoy/dokku,beedesk/dokku,bewest/dokku-alt,stepri/dokku,mrluc/dokku,arthurschreiber/dokku,mvberg/dokku,kennetham/dokku,ignlg/dokku,biddyweb/dokku,klodoo/dokku,bkniffler/dokku,plietar/dokku,bogdal/dokku,tilgovi/dokku,claytonbrown/dokku,expa/dokku,bewest/dokku-alt,alexquick/dokku,progrium/dokku,mikexstudios/dokku,ksokhan/dokku,sseemayer/dokku,eljojo/dokku,AnselZhangGit/dokku,cjblomqvist/dokku,mvberg/dokku,sseemayer/dokku,bewest/dokku-alt,paralin/crew,jimjag/dokku,bewest/dokku,omeid/dokku,bkniffler/dokku,banyan/dokku,callahad/dokku,hanwoody/dokku,u2mejc/dokku,eljojo/dokku,callahad/dokku,stnly/dokku-alt,gabrielrios/dokku,henrik/dokku,matto1990/dokku,barseghyanartur/dokku,elia/dokku,dsrowell/dokku-alt,dsrowell/dokku-alt,henrik/dokku,Cactusbone/dokku,mrluc/dokku,amaltson/dokku,arsthanea/dokku,Git-Host/dokku,dokku/dokku,suxor42/dokku,RsrchBoy/dokku,dsrowell/dokku-alt,jimjag/dokku,lukas2511/dokku,codeconfab/dokku,lemmycaution/dokku,ebeigarts/dokku,hbouvier/dokku,sseemayer/dokku,AnselZhangGit/dokku,eleventigers/dokku,emdantrim/dokku,basicer/dokku,elia/dokku,stnly/dokku-alt,claytonbrown/dokku,mlebkowski/dokku,sseemayer/dokku,jimeh/dokku,eljojo/dokku,callahad/dokku,beedesk/dokku-alt,beedesk/dokku-alt,mmerickel/dokku,Git-Host/dokku,bewest/dokku,christiangenco/dokku,ignlg/dokku,ddreaml/dokku,johnfraney/dokku,alessio/dokku,christiangenco/dokku,ddreaml/dokku,vijayviji/dokku,crisward/dokku,silasb/dokku,ryana/dokku,beni55/dokku,amaltson/dokku,alessio/dokku,jimeh/dokku,ertrzyiks/dokku,econya/dokku,aegypius/dokku,fruitl00p/dokku,zimbatm/dokku,sseemayer/dokku,frog/dokku,cococoder/dokku,eljojo/dokku,alessio/dokku,banyan/dokku,F4-Group/dokku,codeconfab/dokku,mjmeintjes/dokku,jamesmarva/dokku,pmvieira/dokku,mmerickel/dokku,plietar/dokku,3onyc/dokku,mjmeintjes/dokku,dokku/dokku,johnfraney/dokku,netbrick/dokku,akatrevorjay/dokku,mmerickel/dokku,arthurschreiber/dokku,jvanbaarsen/dokku,jvanbaarsen/dokku,bewest/dokku-alt,jamesmarva/dokku,dokku-alt/dokku-alt,basicer/dokku,cococoder/dokku,yuvadm/dokku-base,experimental-platform/dokku,matto1990/dokku,ebeigarts/dokku,gianpaj/dokku,emdantrim/dokku,crisward/dokku,bewest/dokku-alt,lonnen/davis-ci,lonnen/davis-ci,beedesk/dokku-alt,stepri/dokku,lemmycaution/dokku,leonardodino/dokku,klodoo/dokku,ryana/dokku,biddyweb/dokku,rocLv/dokku,RsrchBoy/dokku,TribeMedia/dokku,omeid/dokku,leonardodino/dokku,hanwoody/dokku,arthurschreiber/dokku,nnnnathann/dokku,mmerickel/dokku,3onyc/dokku,zimbatm/dokku,plietar/dokku,basicer/dokku,TribeMedia/dokku,TribeMedia/dokku,alexquick/dokku,eljojo/dokku,gabrielrios/dokku,henrik/dokku,christiangenco/dokku,matto1990/dokku,alexquick/dokku,lmars/dokku,ebeigarts/dokku,beedesk/dokku-alt,leonardodino/dokku,davidsiefert/dokku,progrium/dokku,mlebkowski/dokku,bewest/dokku-alt,u2mejc/dokku,matto1990/dokku,aydintd/dokku,alessio/dokku,amaltson/dokku,jimeh/dokku,klodoo/dokku,experimental-platform/dokku,cococoder/dokku,basicer/dokku,Fab-IT-ApS/dokku,jamesblunt/dokku,ayufan/dokku,lemmycaution/dokku,expa/dokku,jimeh/dokku,barseghyanartur/dokku,nnnnathann/dokku,jamesblunt/dokku,netbrick/dokku,davidsiefert/dokku,jamesblunt/dokku,jimjag/dokku,leonardodino/dokku,basicer/dokku,stepri/dokku,stenius/dokku,jamesmarva/dokku,cjblomqvist/dokku,ebeigarts/dokku,sseemayer/dokku,tilgovi/dokku,dokku-alt/dokku-alt,aydintd/dokku,experimental-platform/dokku,codeconfab/dokku,AnselZhangGit/dokku,ddreaml/dokku,3onyc/dokku,mikexstudios/dokku,fkowal/dokku,mehulsbhatt/dokku-alt,3onyc/dokku,akatrevorjay/dokku,eleventigers/dokku,tidepool-org/dokku,beni55/dokku,codeconfab/dokku,stepri/dokku,mjmeintjes/dokku,lmars/dokku,Evlos/dokku,F4-Group/dokku,alessio/dokku,ryana/dokku,johnfraney/dokku,fmoliveira/dokku,basicer/dokku,dsrowell/dokku-alt,yuvadm/dokku-base,mvberg/dokku,ignlg/dokku,barseghyanartur/dokku,henrik/dokku,ignlg/dokku,fkowal/dokku,akatrevorjay/dokku,jimeh/dokku,jazzzz/dokku,econya/dokku,ddreaml/dokku,mvberg/dokku,beni55/dokku,omeid/dokku,dokku-alt/dokku-alt,experimental-platform/dokku,stnly/dokku-alt,suxor42/dokku,ertrzyiks/dokku,sebastianscatularo/dokku,Fab-IT-ApS/dokku,davidsiefert/dokku,econya/dokku,vlipco/dokku,elia/dokku,Git-Host/dokku,stnly/dokku-alt,kennetham/dokku,expa/dokku,mrluc/dokku,F4-Group/dokku,fruitl00p/dokku,mmerickel/dokku,gabrielrios/dokku,bewest/dokku,yuvadm/dokku-base,TribeMedia/dokku,bobvanderlinden/dokku,tilgovi/dokku,beni55/dokku,tilgovi/dokku,callahad/dokku,Git-Host/dokku,mvberg/dokku,alexquick/dokku,lmars/dokku,ddreaml/dokku,lonnen/davis-ci,alessio/dokku,henrik/dokku,vijayviji/dokku,emdantrim/dokku,zimbatm/dokku,crisward/dokku,jazzzz/dokku,vlipco/dokku,Evlos/dokku,henrik/dokku,bobvanderlinden/dokku,lonnen/davis-ci,netbrick/dokku-alt,vijayviji/dokku,silasb/dokku,progrium/dokku,ebeigarts/dokku,biddyweb/dokku,dokku/dokku,arsthanea/dokku,dokku-alt/dokku-alt,fruitl00p/dokku,RsrchBoy/dokku,ksokhan/dokku,beni55/dokku,ignlg/dokku,mlebkowski/dokku,TribeMedia/dokku,arthurschreiber/dokku,arthurschreiber/dokku,floatdrop/dokku,mmerickel/dokku,stenius/dokku,jamesmarva/dokku,vlipco/dokku,jamesmarva/dokku,pmvieira/dokku,stnly/dokku-alt,netbrick/dokku,F4-Group/dokku,emdantrim/dokku,gianpaj/dokku,emdantrim/dokku,bobvanderlinden/dokku,jamesmarva/dokku,u2mejc/dokku,ayufan/dokku,bogdal/dokku,rocLv/dokku,mouserage/dokku,jazzzz/dokku,AnselZhangGit/dokku,sebastianscatularo/dokku,jazzzz/dokku,ryana/dokku,Fab-IT-ApS/dokku,tilgovi/dokku,aydintd/dokku,stnly/dokku-alt,Fab-IT-ApS/dokku,emdantrim/dokku,beedesk/dokku-alt,eleventigers/dokku,bogdal/dokku,omeid/dokku,sseemayer/dokku,vkurup/dokku,rocLv/dokku,jvanbaarsen/dokku,u2mejc/dokku,floatdrop/dokku,Git-Host/dokku,ebeigarts/dokku,fruitl00p/dokku,u2mejc/dokku,ksokhan/dokku,kennetham/dokku,alessio/dokku,netbrick/dokku-alt,beedesk/dokku-alt,RsrchBoy/dokku,netbrick/dokku,AnselZhangGit/dokku,omeid/dokku,netbrick/dokku,matto1990/dokku,premist/dokku,ayufan/dokku,jamesblunt/dokku,bogdal/dokku,vfulco/dokku-alt,amaltson/dokku,davidsiefert/dokku,silasb/dokku,mikexstudios/dokku,elia/dokku,suxor42/dokku,nnnnathann/dokku,3onyc/dokku,gdi2290/dokku,suxor42/dokku,johnfraney/dokku,dokku-alt/dokku-alt,vlipco/dokku,akatrevorjay/dokku,progrium/dokku,paralin/crew,ksokhan/dokku,mvberg/dokku,beedesk/dokku,fruitl00p/dokku,econya/dokku,tidepool-org/dokku,klodoo/dokku,jvanbaarsen/dokku,lukas2511/dokku,mjmeintjes/dokku,stepri/dokku,Cactusbone/dokku,gianpaj/dokku,mlebkowski/dokku,crisward/dokku,cjblomqvist/dokku,fmoliveira/dokku,bogdal/dokku,nnnnathann/dokku,cjblomqvist/dokku,ayufan/dokku,arthurschreiber/dokku,beedesk/dokku,omeid/dokku,frog/dokku,crisward/dokku,nnnnathann/dokku,amaltson/dokku,lmars/dokku,silasb/dokku,banyan/dokku,stnly/dokku-alt,jamesmarva/dokku,Evlos/dokku,frog/dokku,jazzzz/dokku,bobvanderlinden/dokku,silasb/dokku,Cactusbone/dokku,tidepool-org/dokku,lmars/dokku,cococoder/dokku,vijayviji/dokku,Fab-IT-ApS/dokku,suxor42/dokku,experimental-platform/dokku,hbouvier/dokku,bkniffler/dokku,eleventigers/dokku,plietar/dokku,mlebkowski/dokku,mrluc/dokku,ksokhan/dokku,fruitl00p/dokku,mehulsbhatt/dokku-alt,premist/dokku,netbrick/dokku,bewest/dokku-alt,3onyc/dokku,bewest/dokku,fkowal/dokku,ksokhan/dokku,jamesblunt/dokku,lmars/dokku,lonnen/davis-ci,gabrielrios/dokku,suxor42/dokku,progrium/dokku,callahad/dokku,christiangenco/dokku,tilgovi/dokku,stnly/dokku-alt,silasb/dokku,pmvieira/dokku,davidsiefert/dokku,AnselZhangGit/dokku,yuvadm/dokku-base,cjblomqvist/dokku,RsrchBoy/dokku,codeconfab/dokku,dokku-alt/dokku-alt,Evlos/dokku,arsthanea/dokku,mikexstudios/dokku,fmoliveira/dokku,leonardodino/dokku,u2mejc/dokku,AnselZhangGit/dokku,gabrielrios/dokku,matto1990/dokku,amaltson/dokku,jamesblunt/dokku,aydintd/dokku,ignlg/dokku,beedesk/dokku,ryana/dokku,mrluc/dokku,hanwoody/dokku,premist/dokku,matto1990/dokku,jamesmarva/dokku,gdi2290/dokku,hanwoody/dokku,kennetham/dokku,sseemayer/dokku,christiangenco/dokku,vfulco/dokku-alt,bkniffler/dokku,banyan/dokku,dokku/dokku,gabrielrios/dokku,ayufan/dokku,mouserage/dokku,hbouvier/dokku,kennetham/dokku,jimjag/dokku,bewest/dokku,aegypius/dokku,jimeh/dokku,cjblomqvist/dokku,jazzzz/dokku,aydintd/dokku,dokku/dokku,johnfraney/dokku,tilgovi/dokku,basicer/dokku,gianpaj/dokku,eljojo/dokku,arsthanea/dokku,dsrowell/dokku-alt,mehulsbhatt/dokku-alt,econya/dokku,sebastianscatularo/dokku,vkurup/dokku,arthurschreiber/dokku,dokku-alt/dokku-alt,alexquick/dokku,pmvieira/dokku,cococoder/dokku,barseghyanartur/dokku,vkurup/dokku,gianpaj/dokku,alexquick/dokku,F4-Group/dokku,akatrevorjay/dokku,mmerickel/dokku,mehulsbhatt/dokku-alt,ertrzyiks/dokku,rocLv/dokku,amaltson/dokku,TribeMedia/dokku,mikexstudios/dokku,hanwoody/dokku,silasb/dokku,expa/dokku,expa/dokku,codeconfab/dokku,omeid/dokku,jvanbaarsen/dokku,lemmycaution/dokku,dokku/dokku,lonnen/davis-ci,leonardodino/dokku,jvanbaarsen/dokku,AnselZhangGit/dokku,lukas2511/dokku,gdi2290/dokku,premist/dokku,3onyc/dokku,plietar/dokku,cococoder/dokku,suxor42/dokku,expa/dokku,gabrielrios/dokku,Cactusbone/dokku,mrluc/dokku,jazzzz/dokku,tidepool-org/dokku,ryana/dokku,johnfraney/dokku,beedesk/dokku,aydintd/dokku,davidsiefert/dokku,mikexstudios/dokku,Evlos/dokku,stepri/dokku,rocLv/dokku,ayufan/dokku,matto1990/dokku,omeid/dokku,frog/dokku,callahad/dokku,RsrchBoy/dokku,mjmeintjes/dokku,pmvieira/dokku,akatrevorjay/dokku,claytonbrown/dokku,vlipco/dokku,ayufan/dokku,eljojo/dokku,christiangenco/dokku,dokku/dokku,netbrick/dokku-alt,hanwoody/dokku,dokku-alt/dokku-alt,bogdal/dokku,Cactusbone/dokku,progrium/dokku,eleventigers/dokku,beni55/dokku,premist/dokku,dokku/dokku,lukas2511/dokku,aegypius/dokku,fmoliveira/dokku,davidsiefert/dokku,Fab-IT-ApS/dokku,barseghyanartur/dokku,yuvadm/dokku-base,netbrick/dokku-alt,vfulco/dokku-alt,jimeh/dokku,akatrevorjay/dokku,mouserage/dokku,lonnen/davis-ci,gdi2290/dokku,amaltson/dokku,stepri/dokku,netbrick/dokku-alt,leonardodino/dokku,arsthanea/dokku,progrium/dokku,aegypius/dokku,Fab-IT-ApS/dokku,callahad/dokku,F4-Group/dokku,floatdrop/dokku,bobvanderlinden/dokku,arsthanea/dokku,TribeMedia/dokku,ertrzyiks/dokku,fkowal/dokku,mrluc/dokku,Evlos/dokku,expa/dokku,stenius/dokku,mvberg/dokku,aegypius/dokku,rocLv/dokku,biddyweb/dokku,hbouvier/dokku,aegypius/dokku,experimental-platform/dokku,progrium/dokku,sebastianscatularo/dokku,fruitl00p/dokku,lmars/dokku,plietar/dokku,claytonbrown/dokku,beni55/dokku,tilgovi/dokku,econya/dokku,u2mejc/dokku,stenius/dokku,fkowal/dokku,vfulco/dokku-alt,codeconfab/dokku,fmoliveira/dokku,ddreaml/dokku,klodoo/dokku,experimental-platform/dokku,biddyweb/dokku,bkniffler/dokku,Cactusbone/dokku,kennetham/dokku,Git-Host/dokku,elia/dokku,ertrzyiks/dokku,ebeigarts/dokku,beni55/dokku,sebastianscatularo/dokku,crisward/dokku,jimjag/dokku,claytonbrown/dokku