Allow empty path nodes. Fixes #177.