Bugfix for when env returns non-simple lines (i.e., exported functions)