Fix wildcard empty route generation/parsing issue #641