Content Views: Fix publish bug by refreshing repos