package.pypi: Fix project url computation edge case
Prior to this commit, if the url ended up with the /, the url was wrongly computed.