registry: minor cleanup in search code
registry: minor cleanup in search code

Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

nawawi/docker,konstruktoid/docker-upstream,vdemeester/docker,moul/docker,bearstech/moby,konstruktoid/docker-upstream,paralin/docker,trebonian/docker,djs55/docker,moby/moby,cpuguy83/docker,jimjag/docker,vdemeester/docker,bearstech/moby,Mokolea/docker,moul/docker,cpuguy83/docker,nawawi/docker,docker/docker,bearstech/moby,nalind/docker,Mokolea/docker,jameszhan/docker,yosifkit/docker,gnailuy/docker,gnailuy/docker,justincormack/docker,moul/docker,moby/moby,thaJeztah/docker,mahak/docker,moul/docker,dims/docker,justincormack/docker,moby/moby,kojiromike/docker,dims/docker,yosifkit/docker,AkihiroSuda/docker,AkihiroSuda/docker,jthelin/docker,AkihiroSuda/docker,djs55/docker,jthelin/docker,trebonian/docker,flavio/docker,trebonian/docker,konstruktoid/docker-upstream,Mokolea/docker,nawawi/docker,Ramzec/docker,dims/docker,thaJeztah/docker,jameszhan/docker,yosifkit/docker,jimjag/docker,nalind/docker,ibuildthecloud/docker,mahak/docker,trebonian/docker,thaJeztah/docker,Ramzec/docker,mahak/docker,kojiromike/docker,paralin/docker,nalind/docker,nalind/docker,nawawi/docker,cpuguy83/docker,Ramzec/docker,docker/docker,jimjag/docker,flavio/docker,ibuildthecloud/docker,docker/docker,bearstech/moby,paralin/docker,ibuildthecloud/docker,flavio/docker,justincormack/docker,vdemeester/docker,konstruktoid/docker-upstream,Mokolea/docker,ibuildthecloud/docker,yosifkit/docker,AkihiroSuda/docker,cpuguy83/docker,paralin/docker,gnailuy/docker,flavio/docker,jameszhan/docker,Ramzec/docker,ibuildthecloud/docker,gnailuy/docker,thaJeztah/docker,djs55/docker,moby/moby,kojiromike/docker,jimjag/docker,mahak/docker