Fix nightly last job status detection
As the scheduled pipeline counts as the "Latest", we need to use and filter the generic pipeline list API
As the scheduled pipeline counts as the "Latest", we need to use and filter the generic pipeline list API