Use clean node/repo href/id:s (fixes #317)