It is correct, because the line in DockerClient is $tmp['registry'] = $tmp['registry'] ?? $this->getTemplateValue($image, 'Registry'); And if I switch that, then god knows what else has to change in addition