issue #433: Fix repository tests

Commit 2696052 has introduced bugs in the tests which could only be
reproducible when running on Ubuntu.

Fix the tests by using correct "fake" repositories values and validating URLs
even when updating repositories.

Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>