Don't rely on array() == null

Just use === null instead.

Change-Id: I6adf066214ad5bf9ae508d190b4e3e3fd92e4736