Fix --no-cache-dir
Merge pull request #2010 from dstufft/fix-no-cache

Fix --no-cache-dir