Exit on only_infra deployment.