[v6r11] Set an env variable with the workDirectory

Oh, what's a hack ! Do not forget to remove it as soon as possible, please