Fix `NameError`.
Make sure there's actually a configured vm
Fix `NameError`.
Fix `NameError`.