changed the way kf finds error builds/pkgs so that it tries to find the latest build attempt rather than a specific original envr