fix potential location list

fixes the bug introduced (0.9.82) 
https://github.com/dmwm/WMCore/commit/9979b78edb25e2ae493e30932a9d755bd1d5bd10#diff-63fe4938fe7d571728e9e8e9d3e0a1af

need to be applied to production agent.