When using option outdir it duplicates the given path and can't find the right place to save the map.