What this PR does / why we need it:
This PR fixes a panic that occurs if a VM is created/updated with no template.
Although this field is mandatory, kubemacpool should not panic if it happens.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/k8snetworkplumbingwg/kubemacpool/blob/main/OWNERS)~~ [qinqon]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
What this PR does / why we need it: This PR fixes a panic that occurs if a VM is created/updated with no template. Although this field is mandatory, kubemacpool should not panic if it happens.
Special notes for your reviewer:
Release note: