make sure epel is installed only on proper autolibs state, improve messages, fix #2841