title: dep ensure fails with Solving failure: failed to clean up git repository .
body: <p>I am trying to import the go repo 
  <code>https://github.com/cloudfoundry/cli</code></p>
  
  <p>My <code>dep init</code> or <code>dep ensure</code> commands fail when I add the import statement in my go program. </p>
  
  <p>I am not sure what is the reason I am not able to get the repo. I can do a <code>git clone</code> in the go/src and it complains that the local version might be inconsistent. </p>
  
  <p>Not sure what is happening with this particular repo. </p>
  
  <pre><code>bash-3.2$ dep ensure
  Solving failure: failed to clean up git repository at /Users/rjain/go/pkg/dep/sources/https---github.com-cloudfoundry-cli - dirty? corrupted? status output: 
   D VERSION
  </code></pre>