Default [Q] Building CM for Galaxy Ace 3

Hello everyone! I'm trying to build CM 10.1 (JB 4.2.2 version) for Samsung Galaxy Ace 3 GT-S7270. I have a problem while compiling firmware, I get this error:
Code:
Select Code
Traceback (most recent call last):
  File "./build/tools/releasetools/ota_from_target_files", line 865, in <module>
    main(sys.argv[1:])
  File "./build/tools/releasetools/ota_from_target_files", line 833, in main
    WriteFullOTAPackage(input_zip, output_zip)
  File "./build/tools/releasetools/ota_from_target_files", line 438, in WriteFullOTAPackage
    common.CheckSize(boot_img.data, "boot.img", OPTIONS.info_dict)
  File "/home/artem/cm10.1.3/build/tools/releasetools/common.py", line 450, in CheckSize
    if not fs_type or not limit: return
UnboundLocalError: local variable 'fs_type' referenced before assignment
make: *** [/home/artem/cm10.1.3/out/target/product/logan/cm_logan-ota-db9e27b18f.zip] Error 1
I tried to search for the solution, but it was unsucessful. Did anybody face with similiar problem? Did you solve it and how?