Check nightly build folders the same way we check inbound

Could you rename "get_inbound_branch" to something like "get_build_folder" ? It's a bit misleading IMO.