Change in ovirt-engine[ovirt-engine-3.6.5]: core: prevent a race on add template version - done right