Fix rebar config scripts evaluation

Scripts are evaluated using the dependency directory as current directory

Closes #1262
Merge pull request #1264 from edgurgel/mix-rebar-scripts

Fix rebar config scripts evaluation