Fix Bug

Correct the output option. In my case I use custom output directories, and the elixir alway fallback to the default directory. So this change correct the bug for me.

I do not make unit tests.