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.