CORE-5746: fixed a bug that prevented pipelines that reference external apps from being exported