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

...ng