Because I'm calling locate-route in my application and using the third value.

I'd be happy to add a new function; as I noted in my pull request I found this part of the pull request awkward.  It just seemed that locate-route was the right place for this.