Fix double-slash

maven-helper.sh invalidate-cache does not work correctly when the URLs
repeat a slash...

Noticed by Curtis Rueden.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>