Fix stdapi_sys_config_getenv for Python3