Fixed error in SetDockerExtension

Fixed error in SetDockerExtension