Fix nil checking in readme