getPreviousBuild: Get previous build in the job, not jobset

Broken since 8adb433e3.

Created by  Eelco Dolstra  on October 28, 2020
TGHU6CL4S5UN577IZ6HSOJOCQGOVSIFNQFWWW7GQQG6HWDXWJP3AC
Change contents