Index: pathauto.inc
===================================================================
--- pathauto.inc	(Revision 8)
+++ pathauto.inc	(Arbeitskopie)
@@ -275,13 +275,17 @@
   $pid = NULL;
   $old_alias = NULL;
   if ($op == 'update' or $op == 'bulkupdate') {
-    if (variable_get('pathauto_update_action', 2) == 0) {
-      // Do nothing
-      return '';
+    $update_data = _pathauto_existing_alias_data($src);
+    if (isset($update_data['pid']) && $update_data['pid']) {
+      if (variable_get('pathauto_update_action', 2) == 0) {
+        // Do nothing
+        return '';
+      }
+      else {
+        $pid = $update_data['pid'];
+        $old_alias = $update_data['old_alias'];
+      }
     }
-    $update_data = _pathauto_existing_alias_data($src);
-    $pid = $update_data['pid'];
-    $old_alias = $update_data['old_alias'];
   }
 
   // Replace the placeholders with the values provided by the module,
