                                        [raw-load [source modified]]
                                        [js/PLANCK_READ_FILE (js/PLANCK_READ_FILE path)])]
     (when source
-      (swap! name-path assoc name path)
+      (when name
+        (swap! name-path assoc name path))
       (cb (merge
             {:lang   lang
              :source source}

      (cljs/eval-str
        st
        source-text
        (if expression? "Expression" "File")
        (merge
          {:ns         initial-ns
           :verbose    (and (not expression?)

      (cljs->transit-json (get-in @planck.repl/st [:source-maps name]))))
  (if (and (not (empty? path))
           (not= "Expression" path))
    (let [exception (js/PLANCK_EVAL source (get @name-path name name))]
      (when exception
        (throw exception)))
    (js/eval source)))
