Fix path kernel for img

Change-Id: I4895bb9aeb352724b3f694827493ac4c1f8663ec