I am not sure this conversion is needed if spec contains PhEDEx node name instead of site name.
site  == phedexNode, isn't it?