fix phedex injection for dbs3

This patch will fix the problem that PhEDEx injection won't happen when DBS3 alone mode is enabled.
It is tested on cmssrv94 but one thing still need to be tested is it still need to be working when DBS2 upload is running. 
@ericvaandering  please review. but please don't merge until DBS2 test is confirmed.