return codes for cloud_status for issue #254
check for the vm match independantly of the vmtype - fix for issue#255