CORE-4762: modified the make-app-public service so that it will not publish a pipeline that contains private apps