add the import for easier testing

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
create a helper to figure out the repo url

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
tests for the new helper

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Merge pull request #194 from alfredodeza/8443

fix repo urls for rhel6