Modified lib/hooks to return config data from conf/repos.json