This reverts commit a1b502056221807c4e4b9c4a78281624d8e7ef5e.
E3IEH57UPWDTOUGXLQTWE2OGAXLVXBGBTT5FLSF6UHRJ5Q2QFUVQC
Y6FFX4YBH2APZUWPFFQ4VJZ4A7PMMK256X66FI77DDGQOFQDF6ZAC
OOQ2D3KCLFPYNAN253PHWLBQMB6OMO2KYQWQXLTP65SQAYZWQ5LAC
die "Input $name: No builds available at $value" if !defined $prevBuild || !isValidPath(getMainOutput($prevBuild)->path);
return () if !defined $prevBuild || !isValidPath(getMainOutput($prevBuild)->path);