title: Package '@angular/cli' is not a dependency
body: <p>I am getting the following error when I try to run the command</p>
  
  <p><code>ng update @angular/cli @angular/core --allow-dirty</code></p>
  
  <pre><code>Repository is not clean.  Update changes will be mixed with pre-existing changes.
  Using package manager: 'npm'
  Collecting installed dependencies...
  Found 28 dependencies.
  Package '@angular/cli' is not a dependency.
  </code></pre>