Fix bug with generating breadcrumbs

There was a subtle bug introduced in 584d1fe6 meaning that the test for
co-ordinates was always being run, even if a url name mapping had been
found, which meant if the url didn't match a co-ordinate it was always
falling back to the default in the else statement.

Part of #801