If it's null, don't do the rest of the code.