Remove try except when get configuration from public/private config.