post-receive-hook: Remove trailing .git from project name