move func getNetwork into helper.go to keep consistent Upstream-commit: ff2de8dace1ba1c1f5e8542790ef5cd564375934 Component: engine