bugfix: workflow envirnments not being picked up when there was no task environment