Fixed a bug with _tryRoute that was causing it to fail search for an empty
path via regex