fix bug of not using proper erts version if erts path is used
fix bug of not using proper erts version if erts path is used

bsmr-erlang/relx,RJ/relx,ethercrow/relx,zugolosian/relx,lrascao/relx,ingwinlu/relx,timclassic/relx,umatomba/relx,Licenser/relx,priestjim/relx,bitwalker/relx,tsloughter/relx,erlware/relx