fix route checking while installing + fix git-completion