update getPackagesURL to get value from conf

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