Fixing an NPE in GUI idle detect mechanism; ONOS-441

Change-Id: Id1edd74642915a266d9e935287b70cf5425c91f6