Updated `get_latest_build` with `branch` filter support

In `utility.rb`, extend `get_latest_build` with a new `branch`
parameter, that will allow for discovering the most recent build of a
specific branch.