Use environ.get
Merge pull request #18274 from cachedout/freebsdpkg_environ

Use environ.get