This reverts commit 61c631b3, reversing
changes made to 64d6e3dc.This is done
because the current Go implementation of UserUpdateSubmodule has
erroneous error handling in case updating the reference fails, which
would've caused it to return successfully while the update did in fact
fail.