           (false? override)
           empty-rc
 
-          (string? override)
+          (and (string? override) (not= override rel-path))
           (or (if (util/is-relative? override)
                 (find-resource-in-package npm package require-from override)
                 (find-resource npm require-from override))


      (cond
        ;; common path, no override
        (nil? override)
        (when-let [{:keys [package-name] :as package} (find-package-for-require npm require-from require)]
          (if (= require package-name)
            ;; plain package require turns into "./" rel require

   "_stream_readable" "readable-stream/readable.js"
   "_stream_transform" "readable-stream/transform.js"
   "_stream_writable" "readable-stream/writable.js"
   "sys" "util/util.js"
   "timers" "timers-browserify"
   "tls" false
