Fix ExtractVolume bug for S3 as secondary storage.