provisioners/docker: make sure version is correct type, fix Ruby warning