When specify 'type' to 'git' ,allow the repository path without '.git' suffix