Test for trailing `.git` in details urls

Also fix a package with that as well.

Inspired by #3538.
Unify details url casing
Fix wrong release url for "OpenERP Snippets"