fix for docker backwards compatibility

This fixes an issue when using the ansible docker module with an older version of docker.  Specifically 0.9.1 which is the default in ubuntu 14.04.