No, we don't always return the first index. We return the index of the matching build. If you change --build-id to 20130706032642 you will get index 2 for example as it's the 3rd build on that date. In this particular example there is no binary present, but for the sake of this issue we can ignore that.