title: Unable to register with subscription-manager on redhat 7.4 - 'NoneType' object has no attribute '__getitem__'
body: <p>I am new to RedHat Linux and installed a 7.4 version on VirtualBox. According to the steps for RedHat installation, I need to first subscribe to RedHat for downloading on RedHat. </p>
  
  <p>The command used is</p>
  
  <pre><code>subscription-manager register --username xxxxxxx --password xxxxxxx --auto-attach
  </code></pre>
  
  <p>and the output is</p>
  
  <blockquote>
    <p>'NoneType' object has no attribute '<strong>getitem</strong>'</p>
  </blockquote>
  
  <p>The user and password are correct in the red hat website.
  I had gone through RedHat Bugzilla tickets and solution provided by customer-support, but nothing worked for me.</p>
  
  <p>Please help me to resolve this issue.</p>