Fix #48: filter just the correct errors from Rebar

I don't fully understand why this patch fixes the issue, but this is
better than nothing.