handle KeyError during --force install of cached packages