Do not ignore variables without values when parsing environments

Fixes #379