[PATCH 2/3] gall.repository: Use revparse_single to normalise