ci: Fix incorrect shell condition and find the correct job
If conditions in bash need to be evaluated.
In the fallback case, we need to search the debian-test job that can be on the second page.
If conditions in bash need to be evaluated.
In the fallback case, we need to search the debian-test job that can be on the second page.