fix pocket detection

Change-Id: I378bf39cf0e6f57a42d49d38b79e519a7e0fca0a
Signed-off-by: flar2 <asegaert@gmail.com>