Fixes #87151 by checking if the reader is null before attemping to use it

Closes https://github.com/Emergya/sir-ohiggins/issues/892