The current feature in pack.compose() was added to support the cli tool. Now that the cli has its own parser for '$env.' prefixed values, this is no longer needed. Since this affects pack.compose() only when called directly, the manifest can just be modified outside with the right values.