Use environ.get

Conflicts:
	salt/modules/freebsdpkg.py
Merge pull request #18883 from rallytime/cp-18274

Backport #18274 to 2014.1