Fix bug in kickstart_local_repo snippet and kickstart

Change-Id: Ice16a9aa9588c28056882a7c129e712181645539