Merge pull request #4030 from smuzaffar/CMSSW_6_2_X

fixed duplicateReflexLibrarySearch for patch releases
If no .edmplugincache file found under LD_LIBRARY_PATH then force to use one under CMSSW_BASE to avoid cat hanging