ctdb-scripts: Fix incorrect variable reference