env! returns an Option<&'static str>

Fixes #2248.