'Gets the base url for packages in Koji'

def get_pkg_base_url(self):

    if self.config_options.has_key('pkgurl'):
        return self.config_options['pkgurl']
    else:
        return ('%s/%s' % (self.config_options['topurl'], 'packages'))
