Extract factory.env into broccoli-env package