Might it be this issue fixed in rebar already? https://github.com/basho/rebar/issues/286