Are you sure the OpenColorIO path is baked into the Maya scene file? If its ASCII based, if you open a simple Maya scene file once saved, is it present? I thought this ENV VAR was more likely to be present on the Windows OS machine at either machine/user ENV VAR level?
Assuming you are using the “MayaBatch” plugin (and not the “MayaCmd” plugin), then there shouldn’t be any need to save to *.ma (taking up valuable disk space) as path mapping can happen via the “dirmap” option; assuming you have this enabled in the MayaBatch plugin config:
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/app-maya.html#mayabatch
See: “Path Mapping Mode” setting (and of course it is enabled for path mapping)
If I’ve misunderstood here and thta *.ocio path really is contained within the saved Maya ma scene file, then path mapping (assuming it is enabled) and your repo configured path mappings are correct, then path mapping should be working for you. If that’s the case, then maybe share your path mapping rules you have configured as perhaps you are missing something here, and its not catching on the ‘find’ path: “Z:/jobs/” <- it could be something silly like lower/UPPER case or forward/back slashes?