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>
Merge pull request #1870 from CongSmile/upstream_seamless_fix

Seamless Migration fix