fixing optional repo setup for yum based install