Only return 404 when no routes exist

If there are routes but they are no connected ones then that is an error