Seamless Migration fix

As ret expects Boolean value, thus using len() to check if re
found migration ending strings, and compare to 0 to get Boolean.

Signed-off-by: Cong Li <coli@redhat.com>