Avoid deleting stack for unsupported OS on OS deployments.