check for $CMSSW_BASE before using it
Merge pull request #52 from fwyzard/check_CMSSWBASE_before_using_it

check for $CMSSW_BASE before using it