Ensure the parent directory for key prefix exists
Ensure the parent directory for key prefix exists

Currently we are trying to ensure that the parent
directory exists as a key. But it is really a directory
and etcd expects it to be a directory. So made the
change to ensure that the parent key is created as
a directory and not as a simple key.

Signed-off-by: Jana Radhakrishnan <045898bda7d4800fe4909a9831e702ab79e266be@docker.com>

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