Improve handling of nodes in a repository (fixes #89).