Adds a few fixes for the dev server and refactors the update logic into a class. 
Review URL: http://chromereview.prom.corp.google.com/1180044

git-svn-id: svn://chrome-svn/chromeos/trunk@156 06c00378-0e64-4dae-be16-12b19f9950a1
diff --git a/buildutil.py b/buildutil.py
index 0ffb75f..2fe36bc 100644
--- a/buildutil.py
+++ b/buildutil.py
@@ -2,6 +2,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+import os
+
 def GetPackages():
   """
     Lists all of the packages that can be built with a make_pkg.sh script.