Index: /trunk/pstamp/scripts/pstampparse.pl
===================================================================
--- /trunk/pstamp/scripts/pstampparse.pl	(revision 27853)
+++ /trunk/pstamp/scripts/pstampparse.pl	(revision 27854)
@@ -383,4 +383,6 @@
         }
     }
+
+    $need_magic = 0 if $stage eq 'stack';
     
     my $numRows = scalar @$rowList;
@@ -882,4 +884,9 @@
     my ($r_jobState, $r_fault, $r_dep_id, $imagedb, $state, $stage, $stage_id, $component, $need_magic) = @_;
 
+    # XXX: The update process for warp and subsequent stages requires 
+    # destreaking to run otherwise things don't get output by the -pending
+    # queries.
+    $need_magic = 1;
+
     if (($state ne 'cleaned') and ($state ne 'update') and ($state ne 'goto_cleaned')) {
         my_die("$stage $stage_id is in unexpected state $state", $PS_EXIT_PROG_ERROR);
@@ -887,5 +894,5 @@
 
     my $dep_id;
-    my $command = "$pstamptool -getdependent -stage $stage -stage_id $stage_id -imagedb $imagedb -component $component";
+    my $command = "$pstamptool -getdependent -stage $stage -stage_id $stage_id -imagedb $imagedb -component $component -outdir $out_dir";
     $command .= " -need_magic" if $need_magic;
 
