mdev: add environment variable match