Check if archive exists before deleting it