Workaround for https://github.com/dotcloud/docker/issues/5314