Only specify scheme for external URLs