Fixing routing for the republish command.