Fixed cluster template with no nodegroups creation

Fixes: bug #1265609

Change-Id: I25dafd0439ab743cc5bb6f0c36d212c7cc3d1c83
Merge "Fixed cluster template with no nodegroups creation"