s3-epmapper: Fix allocation of data on the wrong context