Closes #6306

Solves an issue where the consoles RouteNotFoundStrategy would throw an exception because an arrays index 0 isn't defined.