fix checking of docker version in sphinx

It fails in cases when docker isn't installed yet.

Change-Id: I4193653d61e1a748595aed711a2fcfd8793c401d
1 file changed