[refactor] Avoid NET Environment Variable for Current Network #check-lint-warning
This removes the dependency on the NET
environment variable for the current network selection and instead uses the existing build flags to compile constants. There is still some dependency on this variable for other Bifrost clients and init scripts, but we'll continue to move toward a future where it can be removed.