[PATCH v2 09/13] env: Use string pointer instead of indexes in env_get_f()