fix null pointer issue of docker_client.rb:68