[backend] use correct server when getting the buildenv for followup builds