gitlab_update: Stop matching all on .git

Fix on regex so only .git$ is matched.