Fix bug in WMBSHelper when no subs are present

If no PhEDEx subscriptions are present, the WMBSHelper
crashes when injecting the subscriptions into WMBS.

Fix this and change the unittest to trigger the error without
the fix.
Merge pull request #4663 from dballesteros7/Fix-WMBS

Fix bug in WMBSHelper when no subs are present