Use more flexible method to check added partitions

Modify check_in_vm function.
Merge pull request #348 from rbian/disk-iscsi

Use more flexible method to check added partitions, modify check_in_vm f...