Fix go vet errors

I've run govet tool on docker repository and found some small errors. This patch fixes them.