Index: path_redirect.module
===================================================================
--- path_redirect.module	(revision 598)
+++ path_redirect.module	(revision 607)
@@ -565,7 +565,15 @@
       $path = '<front>';
     }
     else {
+      // Let's start with the old reliable way to figure out where we are.
       $path = $_GET['q'];
+
+      // But for some weird situations, let's try this other way to figure out the original request.
+      if (function_exists('custom_url_rewrite_inbound') && !empty($_SERVER['QUERY_STRING'])) {
+        // At this point we only care about the request and not any querystring components.
+        $path_pieces = explode('&', rtrim(str_replace('q=', '', $_SERVER['QUERY_STRING']), '/'));
+        $path = $path_pieces[0];
+      }
     }
   }
   else {
