Hello n@sk,
We'll try to fix the issue with PhotoScan.Matrix() type argument.
At the moment as a workaround we can suggest to initialize export coordinate system as Local coordinates in the following way:
crs = PhotoScan.CoordinateSystem('LOCAL_CS["Local Coordinates",LOCAL_DATUM["Local Datum",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]]]')