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