core: fix import of cloned template

When importing template as clone, it set wrong template base id,
as the id of the template is re-generated.
cloned import is a new entity so it should always be a base template

Change-Id: Ia8cdd44a1803995d28b806668dfdb6ea8e59597e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1073019
Signed-off-by: Omer Frenkel <ofrenkel@redhat.com>