Fixed archive_marcxml_for_history() for cases when the upload is being done not via regular bibupload CLI task running from the task scheduler, but via lower-level direct Python calls, as used in regression testing.
Fixed archive_marcxml_for_history() for cases when the upload is being
done not via regular bibupload CLI task running from the task
scheduler, but via lower-level direct Python calls, as used in
regression testing.

tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio