Router: Fix detection of the path

If no path is given to the Router->run() method, it would return the path to the route and not actually get the correct route.