CLOUDSTACK-4468:template created from snapshot is destroyed once we
restart management server.