Activate baseurl in epel.repo to avoid 404 errors
Add missing option -i for sed of epel.repo
Comment sed of epel.repo. Erlang is still an el6 package an maybe currently not available for EL7