Update judgement about 'autostart_vm' as it's a boolean value

Signed-off-by: Yanbing Du <ydu@redhat.com>