Adjust the output parsing of git name-rev to handle the output of the latest git version.
drwxr-xr-x - contrib