Dataset URLs for projects ending in a trailing forward slash work properly again

See #1684 for an explanation of how, what and why.