erlang_check.erl: Add awareness of rebar.config.script