If user specifying ex_force_base_url with trailing slash, remove a trailing
slash.
Refactor it in a separate method.