Repository.xs: merge_base() should fail if sv_isobject is false

So I missed a check here. Was only checking to make sure that the passed object was of the correct type, and never failing if it is not an object.