Fix argument order in call to checkNotNull

Change-Id: I09c681c8732089a33349ef45027a850ee2cf66e2