--output-dir do not have to be mandatory, so existence check removed.