unless @options.has_key?('registry') &&
          @options['registry'].is_a?(Hash) &&
          @options['registry']['endpoint'] &&
          @options['registry']['user'] &&
          @options['registry']['password']