Protection agains incorrect/empty EndpointURL (BUGZ-4029)
Begin arcbot message
This merge request is automatically cherrypicked from !1575 (merged) from source branch https://source.coderefinery.org/andrii/arc/-/tree/bug-4029 orginally made by @andrii .
The original MR went to branch: https://source.coderefinery.org/nordugrid/arc/-/tree/master
End arcbot message