This will have the same result as you expect:
machine_type = params['machine_type_to_check']

This is a new params feature :)