add wget_repo function

Signed-off-by: Gowrishankar Rajaiyan <gsr@redhat.com>