I am trying to reproduce how the partition gets a UUID first but this could be an option.
blkid | grep swap | grep mmcblk0