Check for existence of importsCacheDir before deleting it