PAHMA-979: fix unseen bug in identifying job queue files