Fixed bug

Wasn't properly detecting a non-existent stage directory for
meaningful output.