Call cache.cancel() only if we have a cache. --> to head
darcs: _darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)