Reload repository references when refreshing the main view