Use PhEDEx to locate blocks/dataset instead of dbs

Fixes #5033 
And overwrites #5034 (fix some typo and Exception handling)
Use DBS when dbsUrl is local
Handles case when origin site name se = 'UNKNOWN' #5012