Add null check to avoid 500 error when viewing the changes for the README.md file itself

Hi there,

I added a small check to avoid a 500 error in a small corner case. I think it could be useful to other people as well :-).

Regards,
Antonio