Only show the manager link if there is a valid URL (see #6244)