Use already defined PENDING variable

PENDING was already defined. Use this variable.

Change-Id: I3eebe6f2ca96b87b30d843562d939900e3ec95a5