cps-tools: Fix bug when listing nodes (issue #77)