Revert "Update linaro-image-tools repository"

This reverts commit ed00e38329d92688996dc40685858fd93c0d4453.
diff --git a/build_images.py b/build_images.py
index fb13da1..3a3a6d1 100755
--- a/build_images.py
+++ b/build_images.py
@@ -187,7 +187,7 @@
     with open(infofile, 'w') as f:
         f.write(buff)
 
-def build_image(lmc_cmd, imgfile, hwpack, hwpack_file, binary,
+def build_image(lmc, imgfile, hwpack, hwpack_file, binary,
                             binary_file, fastmodel=False):
     print "INFO: building image: %s" % imgfile
     hwpi = HWPACKS[hwpack]
@@ -196,7 +196,7 @@
     except:
         size = '3G'
 
-    args = [lmc_cmd,
+    args = [lmc,
                 '--image-size', size,
                 '--hwpack-force-yes',
                 '--hwpack', hwpack_file,
@@ -334,15 +334,7 @@
     hwpackf = site.get_hwpacks()
     binaryf = site.get_binaries()
 
-    lmc_cmd = 'linaro-media-create'
-    lit = os.getenv('LIT')
-        arguments = ['rm', '-rf', 'lit']
-        cmd_runner.run(arguments).wait()
-        arguments = ['git', 'clone', lit, 'lit']
-        cmd_runner.run(arguments).wait()
-        lit_dir = os.path.join(top_dir, 'lit')
-        lmc_cmd = os.path.join(lit_dir, lmc_cmd)
-
+    lmc = '%s/linaro-image-tools/linaro-media-create' % args.out_dir
     odir = '%s/pre-built' % args.out_dir
 
     for hwpack in hwpacks:
@@ -371,7 +363,7 @@
                 imgfile = site.get_image_name(odir, hwpack, url, binary)
                 infofile = '%s.html' % os.path.splitext(imgfile)[0]
                 rfsf = download(dm, binaryf[binary])
-                build_image(lmc_cmd, imgfile, hwpack, hwpf, binary, rfsf,
+                build_image(lmc, imgfile, hwpack, hwpf, binary, rfsf,
                                         args.fastmodel)
                 gzfile = compress_image(imgfile)
                 zsync_image(args.platform, gzfile)