Chained.pm

Index: lib/Catalyst/DispatchType/Chained.pm
===================================================================
--- lib/Catalyst/DispatchType/Chained.pm    (revision 8773)
+++ lib/Catalyst/DispatchType/Chained.pm    (working copy)
@@ -97,7 +97,7 @@
             $curr = $self->_actions->{$parent};
             unshift(@parents, $curr) if $curr;
         }
-        if ($parent ne '/') {
+        if ($parent ne '/' and @parents) {
             $has_unattached_actions = 1;
             $unattached_actions->row('/'.$parents[0]->reverse, $parent);
             next ENDPOINT;