dtest should check version through the ccm API rather than through the environment.