Ok.
So it looks like the YUM script is calling for the wrong location.
I found yum.conf in /etc
This is calling for the file location by $release which I assume it is reading from some where.
How do I change the release name so that the conf is picking up the correct location.
Martin