Fix can't access property "key", t is null error
Created by: eseliger
Apparently react-resize-grid really doesn't like null being passed (the case when directoryPageContext is undefined). Not sure if this is the proper long term fix, but it seems to be a stopgap for that nasty bug on dotcom until we have time to investigate properly.