[aws_cpi] Fix snapshots when volume has no attachments [fixes #52379267]

Fixes #324