Fix for api_test.go
Fix for api_test.go

This passed in the #744 before merge, but apparently the test changed
since the PR was created in ways that led to a new failures.

Signed-off-by: Aaron Lehmann <8ecfc6017a87905413dcd7d63696a2a4c351b604@docker.com>

jonboulle/distribution,shubheksha/docker.github.io,LuisBosquez/docker.github.io,adambrett-forks/distribution,denverdino/distribution-stevvooe,lorieri/distribution,bxy09/distribution,sallyom/distribution,endophage/distribution,sebrandon1/distribution,AoJ/distribution,dobril-stanga/distribution,ContainerSolutions/distribution,aduermael/docker.github.io,shyr/distribution,liubin/distribution,baloo/distribution,tian-xiaobo/distribution,humble00/distribution,tschoots/distribution,docker/docker.github.io,tian-xiaobo/distribution,aaronlehmann/distribution,shin-/docker.github.io,bigsurge/distribution,bdwill/docker.github.io,cyli/distribution,londoncalling/docker.github.io,linearregression/distribution,sadlil/distribution,amitshukla/distribution,jrjang/distribution,arvindkandhare/distribution,JimGalasyn/docker.github.io,konnase/distribution,adambrett-forks/distribution,harrisonfeng/distribution,zerosign/distribution,johnstep/docker.github.io,harrisonfeng/distribution,jzwlqx/denverdino.github.io,johnstep/docker.github.io,cyli/distribution,genedock/distribution,CodeJuan/distribution,alexisbellido/docker.github.io,aaronlehmann/distribution,BrickXu/distribution,atyenoria/distribution,anweiss/docker.github.io,rbarlow/distribution,imranraja85/distribution,bxy09/distribution,bdwill/docker.github.io,genedock/distribution,gavioto/distribution,liubin/distribution,jackpgriffin/distribution,docker-zh/docker.github.io,vdemeester/distribution,BrickXu/distribution,tdooner/distribution,shubheksha/docker.github.io,jordimassaguerpla/distribution,imranraja85/distribution,huamai-io/distribution,phiroict/docker,AoJ/distribution,aduermael/docker.github.io,lcarstensen/distribution,RyanDeng/distribution,spacexnice/distribution,Seb-Solon/distribution,manoj535/distribution,rillig/docker.github.io,denverdino/denverdino.github.io,bpradipt/distribution,paulczar/distribution,jramseye/distribution,pdevine/distribution,RichardScothern/distribution,joaofnfernandes/docker.github.io,djenriquez/distribution,RyanDeng/distribution,jzwlqx/distribution,tschoots/distribution,deis/distribution,gdevillele/docker.github.io,dmcgowan/distribution,bigsurge/distribution,ChenLingPeng/distribution,joaofnfernandes/docker.github.io,beni55/distribution,aprajshekhar/distribution,jzwlqx/distribution,RichardScothern/distribution,estesp/distribution,mbentley/distribution,miminar/distribution,nevermosby/distribution,thaJeztah/docker.github.io,londoncalling/docker.github.io,mbentley/distribution,johnstep/docker.github.io,wangmingshuai/distribution,13W/distribution,denverdino/denverdino.github.io,docker-zh/docker.github.io,joaofnfernandes/docker.github.io,joeuo/docker.github.io,beni55/distribution,LuisBosquez/docker.github.io,denverdino/distribution,mattmoor/distribution,bsmr-docker/distribution,gdevillele/docker.github.io,konstruktoid/distribution,shubheksha/docker.github.io,rillig/docker.github.io,rillig/docker.github.io,nevermosby/distribution,danix800/docker.github.io,gdevillele/docker.github.io,rbarlow/distribution,bdwill/docker.github.io,sanscontext/docker.github.io,jramseye/distribution,RaviTezu/distribution,thaJeztah/docker.github.io,bdwill/docker.github.io,alexisbellido/docker.github.io,docker/distribution,BradleyA/distribution,troy0820/docker.github.io,gdevillele/docker.github.io,moxiegirl/distribution,shin-/docker.github.io,Tiesheng/distribution,docker/docker.github.io,gdevillele/docker.github.io,noxiouz/distribution,lindenlab/distribution,andrewnguyen/distribution,londoncalling/docker.github.io,anweiss/docker.github.io,dalanlan/distribution,menglingwei/denverdino.github.io,jzwlqx/denverdino.github.io,JimGalasyn/docker.github.io,amitshukla/distribution,sergeyfd/distribution,lindenlab/distribution,iskradelta/distribution,jhicks-camgian/distribution,jhicks-camgian/distribution,thaJeztah/distribution,ContainerSolutions/distribution,LuisBosquez/docker.github.io,hpcloud/distribution,menglingwei/denverdino.github.io,docker/docker.github.io,sanscontext/docker.github.io,kmala/distribution,aybabtme/distribution,sanscontext/docker.github.io,rodacom/docker-hub,konstruktoid/distribution,JimGalasyn/docker.github.io,duglin/distribution,miminar/distribution,zerosign/distribution,joeuo/docker.github.io,sergeyfd/distribution,konnase/distribution,moxiegirl/distribution,LouisKottmann/distribution,Seb-Solon/distribution,sanscontext/docker.github.io,docker-zh/docker.github.io,arneluehrs/distribution,endophage/distribution,higebu/distribution,aduermael/docker.github.io,dave-tucker/distribution,jlhawn/distribution,iskradelta/distribution,troy0820/docker.github.io,sadlil/distribution,denverdino/denverdino.github.io,linearregression/distribution,yeghishe/distribution,denverdino/docker.github.io,LuisBosquez/docker.github.io,BrianBland/distribution,xiekeyang/distribution,baloo/distribution,nwt/distribution,anweiss/docker.github.io,denverdino/distribution,bsmr-docker/distribution,shin-/docker.github.io,docker/docker.github.io,lcarstensen/distribution,deis/distribution,mattrgreen/distribution,mikebrow/distribution,docker/docker.github.io,docker-zh/docker.github.io,jzwlqx/denverdino.github.io,manoj535/distribution,spacexnice/distribution,jwhonce/distribution,schu/distribution,BSWANG/denverdino.github.io,docker/distribution,thaJeztah/distribution,dave-tucker/distribution,JimGalasyn/docker.github.io,phiroict/docker,phiroict/docker,jzwlqx/denverdino.github.io,jlhawn/distribution,rhoml/distribution,championv/distribution,shin-/docker.github.io,BrianBland/distribution,mikebrow/distribution,avinson/distribution,anweiss/docker.github.io,BradleyA/distribution,hopkings2008/distribution,denverdino/docker.github.io,alexisbellido/docker.github.io,yuwaMSFT2/distribution,londoncalling/docker.github.io,nwt/distribution,joaofnfernandes/docker.github.io,paulczar/distribution,yeghishe/distribution,13W/distribution,denverdino/denverdino.github.io,vdemeester/distribution,docker-zh/docker.github.io,thaJeztah/docker.github.io,jzwlqx/denverdino.github.io,zhaytee/distribution,estesp/distribution,LuisBosquez/docker.github.io,bdwill/docker.github.io,denverdino/denverdino.github.io,joeuo/docker.github.io,jwhonce/distribution,BSWANG/denverdino.github.io,schu/distribution,andrewnguyen/distribution,dobril-stanga/distribution,aprajshekhar/distribution,arvindkandhare/distribution,yuwaMSFT2/distribution,bpradipt/distribution,stevvooe/distribution,noxiouz/distribution,RaviTezu/distribution,rodacom/docker-hub,jordimassaguerpla/distribution,jrjang/distribution,denverdino/docker.github.io,sanscontext/docker.github.io,alexisbellido/docker.github.io,BSWANG/denverdino.github.io,shubheksha/docker.github.io,avinson/distribution,sthapaun/distribution,jmitchell/distribution,duglin/distribution,joeuo/docker.github.io,higebu/distribution,sallyom/distribution,jackpgriffin/distribution,Tiesheng/distribution,rhoml/distribution,humble00/distribution,dalanlan/distribution,BSWANG/denverdino.github.io,menglingwei/denverdino.github.io,thelinuxkid/distribution,xiekeyang/distribution,johnstep/docker.github.io,alexisbellido/docker.github.io,runcom/distribution,harche/distribution,jonboulle/distribution,jmitchell/distribution,lorieri/distribution,troy0820/docker.github.io,anweiss/docker.github.io,JimGalasyn/docker.github.io,arneluehrs/distribution,sthapaun/distribution,nateww/distribution,ibuildthecloud/distribution,shin-/docker.github.io,championv/distribution,djenriquez/distribution,n1tr0g/distribution,joaofnfernandes/docker.github.io,armbuilds/distribution,shubheksha/docker.github.io,phiroict/docker,huamai-io/distribution,stevvooe/distribution,aybabtme/distribution,codefresh-io/cf-distribution,thelinuxkid/distribution,tdooner/distribution,londoncalling/docker.github.io,dmcgowan/distribution,thaJeztah/docker.github.io,armbuilds/distribution,joeuo/docker.github.io,johnstep/docker.github.io,denverdino/distribution-stevvooe,pdevine/distribution,ibuildthecloud/distribution,aduermael/docker.github.io,CodeJuan/distribution,calavera/distribution,zhaytee/distribution,shyr/distribution,nateww/distribution,danix800/docker.github.io,BSWANG/denverdino.github.io,harche/distribution,mattrgreen/distribution,hopkings2008/distribution,gavioto/distribution,codefresh-io/cf-distribution,cezarsa/distribution,rillig/docker.github.io,rochacon/distribution,atyenoria/distribution,menglingwei/denverdino.github.io,wangmingshuai/distribution,LouisKottmann/distribution,mattmoor/distribution,rochacon/distribution,denverdino/docker.github.io,tt/distribution,troy0820/docker.github.io,danix800/docker.github.io,thaJeztah/docker.github.io,sebrandon1/distribution,menglingwei/denverdino.github.io,hpcloud/distribution,denverdino/docker.github.io,calavera/distribution,cezarsa/distribution,ChenLingPeng/distribution,tt/distribution,phiroict/docker,danix800/docker.github.io,runcom/distribution,kmala/distribution,n1tr0g/distribution