In case we loose the race to update the reference, return GIT_EMODIFIED to let the user distinguish it from other types of errors.