Fix potential NPE

I had appended a local commit before pushing, but it doesn't seem that it took.