Reject project names ending with '.git'.