fix MPS-19871: exception on "new build script"