fix repo issues with dev script for rhel/centos/fedora