Fix issues with repo links for Fedora/Centos for basic install.

fix bug 1175191
fix bug 1175055

Cherry picked from https://review.openstack.org/#/c/27930/

Change-Id: Idbd38b67ed26ba25f3d94ee7a1fb7d83e9a89833