bugfix - get envirnment from dependecy workspace