Instead of os.environ..., use `LocalState.LOCAL_APPSCALE_PATH` here and throughout (see `ec2_agent.py`)