Handle more special cases in the external link checking