Update network.rb

added before_sha to return from get_build