use the set endpoint in bucket name check

fixes the last hardcoded url. the others instances of this url are
only in the XML schema/namespace values so do not require changing
Merge pull request #6 from leejo/rt/92423

Resolve https://rt.cpan.org/Ticket/Display.html?id=92423