Adding in endling for empty endpoints in URLUtils