work around a bug in ec2_ephemeralswap