nova_compute: remove ternary statement