Fix broken unittest caused SiteDBv2 emulator

Hi,

please review and merge this pull request. It is fixing the broken unittests by the SiteDBv2 emulator. This request passes jenkins.

http://dmwm.cern.ch:8080/job/WMCore-UnitTests-try/2092

Thanks,
Manuel