Fixed the check to make sure to exclude the HEAD symbolic refs when updating
tree0a9a4861f8be22a7c7a85badc5025e7abb387c18
drwxr-xr-x - contrib