diff --git a/plugins/tasks/pm_existing_pages.inc b/plugins/tasks/pm_existing_pages.inc
index 14c17ab..629a8c7 100644
--- a/plugins/tasks/pm_existing_pages.inc
+++ b/plugins/tasks/pm_existing_pages.inc
@@ -57,6 +57,13 @@ function pm_existing_pages_pm_existing_pages_menu_alter(&$items, $task) {
         continue;
       }
 
+      // Make sure we have a page callback. We silently continue here, as this
+      // is a menu item that will inherit the page callback from its parent
+      // menu item.
+      if (empty($items[$path]['page callback'])) {
+        continue;
+      }
+
       // Add more page arguments.
       $pm_args = array(
         'ti' => $task_id,
