Bug fixing: analyze --resume command with no --output-dir flag was failing