diff --git a/modules/path/path.module b/modules/path/path.module
index 5790c12..2165228 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -197,7 +197,7 @@ function path_nodeapi(&$node, $op, $arg = NULL) {
       case 'insert':
         // Don't try to insert if path is NULL. We may have already set
         // the alias ahead of time.
-        if (isset($node->path)) {
+        if (!empty($node->path)) {
           path_set_alias('node/'. $node->nid, $node->path, NULL, $language);
         }
         break;
