removing secondary attempt to get origin config