make sure epel is installed only on proper autolibs state, improve messages, fix #2841
clean PATH entries ending with /, fix #2826
fix selecting installed rubies with patches, fix #2857