Fix problem that cache drive would not be ignored.