                              raw (get appengine-sdk username)]
                          (when (nil? raw)
                            (lein/abort
-                            (format "no valid App Engine SDK directory defined for user %s"
-                                    username)))
+                            "no valid App Engine SDK directory defined for user"
+                                    username))
                          raw))
         appengine-sdk (let [appengine-sdk (File. appengine-sdk)]
                         (when-not (.isDirectory appengine-sdk)

                    version ; just use the given version
                    (let [versions (if (contains? project :appengine-app-versions)
                                       (:appengine-app-versions project)
                                       (lein/abort (str task-name
                                                        " requires :appengine-app-versions"
                                                        " in project.clj")))]
                      (cond
                       ;; not a map
                       (not (map? versions))

        in-appengine-web-xml-tmpl (File. web-inf-dir "appengine-web.xml.tmpl")
        out-appengine-web-xml (File. web-inf-dir "appengine-web.xml")]
    (when (not (.exists in-appengine-web-xml-tmpl))
      (lein/abort task-name "requires WEB-INF/appengine-web.xml.tmpl template file"))
    (when (.exists out-appengine-web-xml)
      (lein/abort task-name "cannot run when a WEB-INF/appengine-web.xml file exists"))
    (try
      (xpath-replace-all in-appengine-web-xml-tmpl out-appengine-web-xml
                         {"//application" app-name
