ctdb-server: Add goto tag avoiding code duplication