ctdb-tests: Build a node map instead of a hacky node flags array