Update how we check verify when inspecting env variables

Closes #2092