Use 'readlink' to avoid issues

When '-m' is set to a path that contains a path separator at the end
(e.g. /mnt/archlinux/), utilizing grep to process directories from the
mount command combined with the "remove first line" of tail that should
remove mountpoint but not submountpoints causes issues.