Use .first() instead of [0] when getting build for badge