Fixed bug in GODIL detection

Change-Id: I471a5eb439c2bcce4b1375e868fb41804af0fd6c