ctdb-tools: Use a clear and readable if-statement