Is this actually needed? There's this test a few lines earlier so we shouldn't reach this code.