Fixed to mounted

Fixing a bug if a swap device is specified as one of the special symlinks, eg. the links under /dev/disk/by-uuid
#18550