[lnst] Fix "Undefined variable 'HTTPError'" error