[qemu-wrapper] handle environment variables