Simplify detection of cmssw environment.
Merge pull request #3175 from alja/from-CMSSW_6_2_7

6_2_X cmsShow -- simplify detection of cmssw environment.