Fix creation of nested Hostgroups
Add check to remove the nest method when upgraded to 1.5